[Python-ideas] Reuse "for" to express "given"

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu May 24 14:47:30 EDT 2018

> But I do have a mathematics background, and I don't remember ever seeing
> "for x = value" used in the sense you mean.

That's so because in mathematics, "for" is spelled ":" as in

 {2*a* : *a*∈*Z*}

If you can read the above, you should not have trouble reading

 {2*a* + *b* : *a*∈*Z *: *b = *1}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180524/07e6f209/attachment.html>

More information about the Python-ideas mailing list