Closed ethantse closed 1 year ago
I was trying to make a forever game loop.
i put poop = 5 while poop != 0: print('poop') easy right? but it dsays ` File "c:\users\hp\mu_code\game2.py", line 86 poop = 6 ^ SyntaxError: invalid syntax
poop = 5 while poop != 0: print('poop')
`
forever print'poop'.
No response
1.2.0
Hi
You need to put each part on its own line ....
`poop = 5
while poop != 0:
print('poop')`
Closing - not related to Mu Editor's development.
Good luck with the game ;-)
What were you trying to do?
I was trying to make a forever game loop.
What steps did you take to trigger the issue?
i put
poop = 5 while poop != 0: print('poop')
easy right? but it dsays ` File "c:\users\hp\mu_code\game2.py", line 86 poop = 6 ^ SyntaxError: invalid syntax
What did you expect to happen?
forever print'poop'.
What actually happened?
No response
Operating System Version
No response
Mu Version
1.2.0
Other Info
No response
Editor Log
No response