Georg Brandl added the comment:

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.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22868>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to