+ 2

In python playground, all input has to be submitted at the start...

Hello coding community, I have a a problem that bothers me quite a bit. When running programs in playground, all inputs have to be given at the start and there are no prompts and it is a pain in the butt and makes back and forth interaction with the program impossible. Is there a way around that? Is it because it is just the playground and not a „real“ program yet? Or am I just too dumb? Thanks a lot!

19th Dec 2022, 3:53 PM
matthias boettcher
5 Respuestas
+ 3
On sololearn Python playground you have to give all input in the beginning. It is not interactive like your local Python installation. There is no way around it, it is a chosen restriction of the Python playground.
19th Dec 2022, 5:17 PM
Lisa
Lisa - avatar
+ 3
Yes, sololearn Python is not interactive. Additionally, it does not allow for graphical interface (which is what you likely want for a game) I don't have an apple device. Here's what I found online: "Pythonista is a complete development environment for writing Python scripts including third-party libraries and system integration on your iPad or iPhone. Pyto also provides a complete development environment for running Python 3 including many third-party libraries and system integration on an iPad or iPhone." https://www.python.org/download/other/
19th Dec 2022, 5:29 PM
Lisa
Lisa - avatar
+ 3
Happy coding! Viel Spaß!
19th Dec 2022, 7:03 PM
Lisa
Lisa - avatar
+ 2
Thanks alot for the quick answer! So i wont be able to program something like tic tac toe or battleship or anything that requires back and forth here? 😢 Can you recommend a good app (for iOS) where i can code without this restriction? Again, thanks alot, im so happy to have found such a brilliant learning ressource (and community) here.
19th Dec 2022, 5:23 PM
matthias boettcher
+ 1
Ya, thats where i landed, too. Again, vielen Dank und beste Grüsse!
19th Dec 2022, 6:18 PM
matthias boettcher