6 ответов
+ 2
In sololearn inputs should be provided before execution of program.So in this case it is not possible.
If you are using any other ide than
print("prited text")
a=input("enter some thing")
Thats what I understand your questions if you are asking about anything else than ask about it
+ 2
Sololearn was built by the developers in such a manner.. There is no other way for that.. Your code is visible to users know,so they can understand which kinda input they need to give.. 👍
+ 1
what if users need to know what type of input to enter?
+ 1
Danny.
Sololearn playground(in which you write code) is limited.It have limitations .It ask about all inputs that are used in program before execution.So in sololearn telling about what user have to input is not possible but if you are using any other ide than you can do it like
a=int(input("Enter an integer: "))
output:
Enter an integer:
0
thanks
0
okay then...much appreciated