This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients Lisabel Leon, docs@python, matrixise, zach.ware
Date 2017-07-25.15:56:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500998175.37.0.333153972342.issue31037@psf.upfronthosting.co.za>
In-reply-to
Content
Take a look at the statement immediately following the example:

"(Yes, this is the correct code. Look closely: the else clause belongs to the for loop, not the if statement.)"

The example is correct, and is introducing the concept of an 'else' clause on a for loop.  This is very much not the first report of this that we've had, though; perhaps the 'look closely' admonition should be moved before the example?

For future reference, please copy and paste the text of your tests rather than a screenshot; not all participants can see the screenshot.
History
Date User Action Args
2017-07-25 15:56:15zach.waresetrecipients: + zach.ware, docs@python, matrixise, Lisabel Leon
2017-07-25 15:56:15zach.waresetmessageid: <1500998175.37.0.333153972342.issue31037@psf.upfronthosting.co.za>
2017-07-25 15:56:15zach.warelinkissue31037 messages
2017-07-25 15:56:15zach.warecreate