Discussions Q&R
Python 3
0 Vote
1 RĂ©ponseWhy 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
Python
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBTđ€đ€đ€đ€
2 Votes
Help for study
0 Votes
Need help (French)
1 Votes
Spying on me
1 Votes
Where's PHP and Ruby courses?
1 Votes