+ 1
This code returns syntax error. Help!
a = 0 while a>-1: print(i) a = a + 1 if a=6: print("break") break
4 Respuestas
0
What language is it ?
Please put the languag you use in the tags.
Can you create the code in the playground and post a link to the code in your here ?
That helps people to help you.
What the syntax error do you get ?
0
Try using indentation. It gets confusing when you don't. The if statement is outside the while loop and has a break wich will cause an error on its own