[docs] Tutorial code is missing a break statement

Senthil Kumaran senthil at uthcode.com
Tue Aug 9 04:16:08 CEST 2011


On Mon, Aug 08, 2011 at 11:37:07AM -0700, philip at primacystudios.com wrote:
> In section 4.4 "break and continue..." of the v2.7.2 tutorial documentation the
> loop iterates and returns a different output than what is depicted. 

Perhaps you did not indent your program correctly. The else goes with
the for statement and not if. I tried the program from the text and it
gives the output as documented.

-- 
Senthil


More information about the docs mailing list