New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
How can I make a reference for a list of variables. If false i want the system to check through all my variable to make sure they are false.
Code-
var2 = "Tanner"
var3 = "Jake"
question = input('What is your name? ')
if question == var2:
print('\nWelcome Back Tanner!')
if question == var3:
print('\nWelcome Back Jake!")
if question !=( This is where i need help!)( Is the != the correct way to write not equal?)
0 Votes
4 AnswersHot today
post your python code here)
2 Votes
Help with homework
0 Votes
please help me emotionally
1 Votes
Logical operator
1 Votes
Time
1 Votes