Q&A Discussões
What’s this error
-1 Voto
10 RespostasWhy 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 Voto
10 RespostasQuente hoje
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
Front-end vs Full-stack
1 Votes
HTML
0 Votes