when i want to put input it shows "looks like your programm needs inputs" what should i write there please?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

when i want to put input it shows "looks like your programm needs inputs" what should i write there please??

29th Nov 2020, 5:39 PM
nesrine
nesrine - avatar
3 Answers
+ 1
Post your code or a link to it if you want a specific answer 🙂
30th Nov 2020, 1:03 AM
David Ashton
David Ashton - avatar
0
That dialog is displayed when you use input functions ( input(), gets(), etc). There you need to write all data your program needs to work. For example: i = input("Enter your name: ") print(i) When i run that code, a SoloLearn Alert Dialog is displayed asking me for an input, and that input is "the user name" (see example). Let's suppose we write name "Hello Kitty" on that Sololearn Dialog window, then the output of my program (the print(i) line ) will be "Hello Kitty".
30th Nov 2020, 10:29 AM
Hacker-KR4636
Hacker-KR4636 - avatar