Sesiones de PyR
What mean this error?
0 Votos
6 RespuestasWhy does an error pop up here:
var1 = "Trey"
var2 = "Tanner"
var3 = "Ellis"
var4 = "Jake"
var5 = "Christine"
question = input('What is your name? ')
if question == "var1":
print('Welcome Back Trey')
Error:
Traceback (most recent call last):
File "Hi.py", line 6, in <module>
question = input('What is your name? ')
File "<string>", line 1, in <module>
NameError: name 'Trey' is not defined
0 Votos
10 RespuestasEn tendencia hoy
Is this realistic enough?
2 Votes
Cybersecurity techies
3 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
What's wrong with code?
0 Votes
Python
1 Votes