• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

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
else-statementsif-statementspython
0 Vote
10 Réponses
19th May 2017, 9:48 PM
Tanner
< Précédent1...34Suivant >
Aujourd'hui en vedette
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Rise of AI
1 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes