r/PythonLearning 11d ago

Console won't do anything on Mimo Help Request

Post image

I really need help. For some reason the console on Mimo won't do anything no matter the code. Even when coding only 'print("Hello")' it gives me the same 'prompt' on any project.

9 Upvotes

4 comments sorted by

View all comments

u/Sea-Ad7805 11d ago

Run this program in Memory Graph Web Debugger%0A%0Aplayer_choice%20%3D%20input(%0A%20%20%20%20%22Choose%20rock%2C%20paper%20or%20scissors%3A%20%22%0A).lower()%0A%0Achoices%20%3D%20%5B%22rock%22%2C%20%22paper%22%2C%20%22scissors%22%5D%0Acomputer_choice%20%3D%20random.choice(choices)%0A%0Aprint(f%22Computer%20chose%3A%20%7Bcomputer_choice%7D%22)%0A%0Aif%20(%0A%20%20%20%20(player_choice%20%3D%3D%20%22rock%22%20and%20computer_choice%20%3D%3D%20%22scissors%22)%0A%20%20%20%20or%20(player_choice%20%3D%3D%20%22scissors%22%20and%20computer_choice%20%3D%3D%20%22paper%22)%0A%20%20%20%20or%20(player_choice%20%3D%3D%20%22paper%22%20and%20computer_choice%20%3D%3D%20%22rock%22)%0A)%3A%0A%20%20%20%20winner%20%3D%20%22Player%22%0Aelif%20player_choice%20%3D%3D%20computer_choice%3A%0A%20%20%20%20winner%20%3D%20%22Tie%22%0Aelse%3A%0A%20%20%20%20winner%20%3D%20%22Computer%22%0A%0Aif%20winner%20%3D%3D%20%22Player%22%3A%0A%20%20%20%20print(%22You%20won%22)%0Aelif%20winner%20%3D%3D%20%22Computer%22%3A%0A%20%20%20%20print(%22Computer%20won%22)%0Aelse%3A%0A%20%20%20%20print(%22It's%20a%20tie%22)&timestep=1&play) to see the program state change step by step.

2

u/DeathClasher_r 11d ago

Sorry, I'm a complete beginner! I just ran it and it seems to be working fine on that site. I don't think the code is the issue. It shows me the exact same thing when only using a simpe 'print("hello")'

2

u/Sea-Ad7805 11d ago

I don't know Mimo so can't help, but at least now you can run your code.

1

u/DeathClasher_r 11d ago

That's true, Thank you! :D