Python code shouldn’t demand up-front input | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Python code shouldn’t demand up-front input

I’m trying to write programs that prompt the user in which the user has to see prompts to know how to answer. Unfortunately, the Code Playground seems to demand the input before running the program. I wrote an example program to show what I mean, try running this: https://code.sololearn.com/c7qjcmRpkouE/?ref=app Does anyone know how to solve this? I’m trying to create a game...

24th Jul 2019, 12:13 AM
Joel McCandless
Joel McCandless - avatar
4 Antworten
+ 2
Joel McCandless why don't you get python on a PC, it's far more effective than the SL playground
24th Jul 2019, 1:54 AM
Dlite
Dlite - avatar
+ 1
Thanks, but I’m trying to learn python.
24th Jul 2019, 12:24 AM
Joel McCandless
Joel McCandless - avatar
0
Joel McCandless what D'Lite says. check out this code for some great python IDE suggestions if you're on android https://code.sololearn.com/WY1YrUIkSl5p/?ref=app
24th Jul 2019, 4:13 AM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
0
Thank you!
24th Jul 2019, 10:22 AM
Joel McCandless
Joel McCandless - avatar