New submission from Sandeep Sabnani <[EMAIL PROTECTED]>:

Section 4.4 on page http://docs.python.org/tut/node6.html has a for loop
which uses the range function. However, the displayed output of that
loop is not correct. I ran the same code and got the output as follows:

3 is a prime number
4 = 2 * 2
5 is a prime number
5 is a prime number
5 is a prime number
6 = 2 * 3
7 is a prime number
7 is a prime number
7 is a prime number
7 is a prime number
7 is a prime number
8 = 2 * 4
9 is a prime number
9 = 3 * 3

Can this be corrected in the tutorial as it can be confusing for a
python newbie!

Thanks!

----------
assignee: georg.brandl
components: Documentation
messages: 65996
nosy: georg.brandl, sandeepsabnani
severity: normal
status: open
title: Error in Python tutorial (http://docs.python.org/tut/node6.html)
versions: Python 2.5

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2724>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to