Input description | SoloLearn: Learn to code for FREE!

+1

Input description

Hello Does anybody know how to make an input tell you what you have to write? input(): ^ This code gives me a box that says "looks like your program needs an input" or something like that. I want it to tell me "Enter your name" in that box. Shoud I write what I want it to say between () ?

6/2/2020 6:05:45 PM

joonas

17 Answers

New Answer

+1

πŠπ’π’π›π¨ π†π‘πšπ²πšπ₯ When I start python script with input in Sololearn app on my phone on android (may be only in this case). Sololearn popup dialogue for input. This dialogue have not "text" from input("text").

+2

Yes but I didn't ask for that. This code doesnt ask an input at all.

+2

Here in SoloLearn?

+2

+2

Thanks to both of you :)

+1

input and print funcs made for console (terminal). This is a limitation of Sololearn. It can't handle arguments of input(). In real console it work fine. Good luck!

+1

So I can't make a code asking my name in the "looks like your code needs an input" box?

+1

joonas In Sololearn dialogue it just isn't be asked. But it will be asked with normal script execution.

+1

Thanks a lot for help!

+1

I am pretty tired of the "Seems like your program requires input" box, too.

0

It still doesn't say

0

joonas It's working as suggested by Explosive Creativity :D , have a look https://code.sololearn.com/cjcsts5MJvQ9/?ref=app

0

0

0

Sorry for bad English.

0

For Taking Input : x=input(β€œEnter Your Name β€œ)