¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
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
5 Respuestas
+ 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)
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.
0
So I dont need input? Is input only for numbers?
0
I want to be able to enter my name where it ask me to do so
0
Demonstrate?