What does it mean when it tell me "look like your program needs input", then gives me an error when I try to run the program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does it mean when it tell me "look like your program needs input", then gives me an error when I try to run the program

X = input("enter your name:") Print x

20th May 2019, 9:44 PM
Mike Harris
Mike Harris - avatar
5 Answers
+ 5
Correct your x to capital since you declared it in the first line. print should be small letter p x should be in parenthesis: x = input(" Enter your name") print (x)
20th May 2019, 9:51 PM
Jella
Jella - avatar
0
input() function reads some input from user otherwise it throws an error. You need to enter some number or char to the input prompt pop up.
20th May 2019, 9:49 PM
Dima Makieiev
Dima Makieiev - avatar
0
So I dont need input? Is input only for numbers?
20th May 2019, 9:53 PM
Mike Harris
Mike Harris - avatar
0
I want to be able to enter my name where it ask me to do so
20th May 2019, 9:56 PM
Mike Harris
Mike Harris - avatar
0
Demonstrate?
20th May 2019, 10:12 PM
Mike Harris
Mike Harris - avatar