Discussions Q&R
Why 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 Vote
10 RéponsesAujourd'hui en vedette
Error in python
4 Votes
Not Accessing Message Function
0 Votes
what is wrong with my code?
0 Votes
Where have they gone
1 Votes
How to get messages?
1 Votes
PYTHON
1 Votes
Certificate
0 Votes