What am I doing wrong in playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What am I doing wrong in playground?

So, I wrote a mini-game which seems to be working good on PC but I have encountered a problem within the playground https://code.sololearn.com/cDHL0lYHCDow/?ref=app Can someone tell me where is my mistake?

22nd Feb 2020, 6:17 PM
Alisher Berdibekov
Alisher Berdibekov - avatar
2 Answers
+ 3
Non-web programs on Sololearn are not run live, but they are sent to Sololearn, they run it, and what you see is only the final output. That means that eternal or dynamically controlled loops plus input are tricky. Watch this for more details: https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
22nd Feb 2020, 6:20 PM
HonFu
HonFu - avatar
+ 3
Your indentation is completly messed up. Did you take a look at your previous post? I'm sure the answers there will be very helpful.
22nd Feb 2020, 6:19 PM
Aymane Boukrouh
Aymane Boukrouh - avatar