F&A Diskussionen
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 Stimmen
10 AntwortenAll around programing language.
2 Stimmen
3 AntwortenHeute heiß
Solving coding challenges
2 Votes
I am new
1 Votes
Advertising in Sololearn
1 Votes
RUST'S FUTURE
1 Votes
Programming Language
0 Votes