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

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -