[docs] missing break statement in one of the examples on prime numbers.

Rahbar Maghsoudi rahbarm at gmail.com
Tue Mar 27 23:41:40 EDT 2018

I noticed  a minor mistake in one of the examples in the program to find
prime numbers in the range(2,10)
After the print statement, we a need a break to prevent multiple prints.

You can find the example under the following section with link given there.

4.4. break and continue Statements, and else Clauses on Loops¶


Kind regards,

Rahbar Maghsoudi, D.Phil. (Oxon), P.E.

This e-mail and any files transmitted with it may contain privileged and
confidential information and are intended solely for the use of the
individual or entity to which they are addressed. If you are not the
intended recipient or the person responsible for delivering the e-mail to
the intended recipient, you are hereby notified that any dissemination or
copying of this e-mail or any of its attachment(s) is strictly prohibited.
If you have received this e-mail in error, please immediately notify the
sending individual or entity by e-mail and permanently delete the original
e-mail and attachment(s) from your computer system. Thank you for your
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20180327/11fce562/attachment.html>

More information about the docs mailing list