[issue2257] typo in tutorial section 4.4 - final break statement is missing

2008-03-08 Thread Georg Brandl
Georg Brandl added the comment: Sorry, but I don't see a mismatch between code and output. -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue2257] typo in tutorial section 4.4 - final break statement is missing

2008-03-07 Thread Raymond Hettinger
Changes by Raymond Hettinger: -- assignee: georg.brandl -> rhettinger nosy: +rhettinger __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue2257] typo in tutorial section 4.4 - final break statement is missing

2008-03-07 Thread k-e-n
New submission from k-e-n: The code from section 4.4 of the tutorial follows. This code does not produce the output shown. Adding a final break statement will fix this. >>> for n in range(2, 10): ... for x in range(2, n): ... if n % x == 0: ... print n, 'equals', x, '*',