python - I am really not sure why this is a Syntax Error, works without while loop -
quick question. find out how syntax error? if remove while loop @ top works fine want code inside while loop repeat many times specify in 'total' variable
there no such thing braces blocks in python (unlike c, java ...). need indentation.
while cond: # no { # code here # no }
Comments
Post a Comment