mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.39k stars 433 forks source link

EASIEST THING BUT DOSENT WORK #2411

Closed ethantse closed 1 year ago

ethantse commented 1 year ago

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

dsssssssss9 commented 1 year ago

Hi

You need to put each part on its own line ....

`poop = 5

while poop != 0:

print('poop')`
xbecas commented 1 year ago

Closing - not related to Mu Editor's development.

Good luck with the game ;-)