Message231150
For me the text is correct. However, it depends on parsing the English sentence in the right way, which can be confusing. The prose means "not (divisible by 2 or 3)" which is equivalent to "not divisible by 2 and not divisible by 3", therefore the Python code has an "and" operator.
It would probably be best to remove the negation, which also removes the ambiguity: "compute a sequence of numbers divisible by 2 or 3" or such. |
|
Date |
User |
Action |
Args |
2014-11-14 07:38:27 | georg.brandl | set | recipients:
+ georg.brandl, docs@python, enchyisle |
2014-11-14 07:38:27 | georg.brandl | set | messageid: <1415950707.12.0.760010790338.issue22868@psf.upfronthosting.co.za> |
2014-11-14 07:38:27 | georg.brandl | link | issue22868 messages |
2014-11-14 07:38:26 | georg.brandl | create | |
|