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

all code

there no such thing braces blocks in python (unlike c, java ...). need indentation.

while cond:     # no {     # code here     # no } 

Comments

Popular posts from this blog

.net - Generate assembly with Roslyn -

ZeroMQ on Windows, with Qt Creator -

batch file - filebot superstrict script: need tiny video sample or other solution -