
Is that an error in Python tutorial?
Hi, I like it your Python tutorial! Thanks, it is really good. But I think you did mistake on this page
http://www.tutorialspoint.com/python/python_loop_control.htm. Check example of The continue Statement, I guess this part of code should be like this:
Code:
var = 10 # Second Example
while var > 0:
var = var - 1
if var == 5:
continue
print 'Current variable value :', var;
And of course it will affect the result of it, where number 5 will not be printed.
Am I correct? ))