When we want users input ,the tab which take user response not shows print statement.how can i do overcome this problem. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When we want users input ,the tab which take user response not shows print statement.how can i do overcome this problem.

print("choose any no.") user_input = int (input(" ")) >>>likewise in above code it will not give instructions in input tab {e.g. ^choose any no.^}

11th Sep 2020, 1:32 AM
#challenger mg
#challenger mg - avatar
2 Answers
+ 8
In sololearn it will not show you the print statements when you are giving the input,just enter the input as required in code and see the output their you will see all print statements
11th Sep 2020, 2:02 AM
chaithra Gowda
chaithra Gowda - avatar
+ 2
Only web code input prompt does that, non web code input dialog is a generic one which accepts all the necessary input values ahead of time, for the first, and successive (if any) input needed by the program. To better understand how input works in SoloLearn, see this code 👇 https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
11th Sep 2020, 1:56 AM
Ipang