Inputs in Code Playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Inputs in Code Playground

Trying to learn coding again after 25 years so bear with my stupid questions please! In Code Playground, using the input command, why do I get a pop up that says "Looks like your program needs an input" instead of the string I want printed with the input command and why don't I get 2 popups (only get 1 popup expecting both inputs) if I have 2 consecutive input commands?.

4th May 2018, 6:41 PM
Curtis Melcher
2 Answers
+ 1
the input in playground here is a little primitive when it comes to that. Try your app on a Pc compiler/interpreter and it will do. Code playground here is for simpler tasks or for apps without or with one input. Ofc you can send those inputs in that one prompt by separating them by a new line. hope that helps tho
4th May 2018, 7:52 PM
Paul
0
Yes, that helps. Thanks!! I thought perhaps there was something I was missing.
7th May 2018, 1:39 PM
Curtis Melcher