0
Do I have to input numbers.
Whenever I write X = input(python is awesome) Print (x) It says I have to put “input” in what do I put in
2 Antworten
+ 2
input() returns a string by default, so it will return a string unless implicitly told otherwise.
+ 2
First there are some errors in your code
X = input("python is awesome")
print(X)
Then after running it you will get a prompt in sololearn. You have to enter something into it and run the program. If no input is provided you will get an EOF error.
Hope this helped