Python code shouldnโ€™t demand up-front input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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