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

Input

I am unable to understand this input function, i.e whatever string that we write inside a input function should appear, whenever we give input in popup box (i. e popup should contain this string, so that user can understand what exactly to enter as a input) but it is not appearing, instead it is appearing in output ,where it has no significance Ex:input("enter number:"), <- this string need to appear whenever we give input, not in the output. So is there any way to make it happen?

29th Jun 2020, 10:38 AM
tangella shivareddy
tangella shivareddy - avatar
4 Answers
+ 1
This is SoloLearn specific! If you use an other platform like Anaconda or VS-Code it should work correctly.
29th Jun 2020, 10:39 AM
Alexander Thiem
Alexander Thiem - avatar
0
It isn't possible to do that on SoloLearn, because the input is taken separately. But if use the input function in a normal IDE or the terminal/command prompt, it will work as expected.
29th Jun 2020, 10:41 AM
XXX
XXX - avatar
0
Thankyou, i understood
29th Jun 2020, 10:43 AM
tangella shivareddy
tangella shivareddy - avatar
0
Your welcome!
29th Jun 2020, 10:44 AM
Alexander Thiem
Alexander Thiem - avatar