Sesiones de PyR
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 Votos
10 RespuestasHelp with a Code
0 Votos
3 RespuestasWhy this code is working?
0 Votos
1 RespuestaHey guys im trying to male a simple login use variables and inputs. Can i have some help with my code! A syntax error keeps coming up where i state
x = v.
print 'Hello User'
x = 'Tanner'
v = input('ENTER YOUR NAME HERE')
if x = v
print ('\n Welcome Tanner!')
else x != v
print ('\n User Not Found!!')
0 Votos
9 RespuestasCompilation Error...
1 Voto
3 Respuestasneed help with python ml
0 Votos
2 RespuestasMD5 encryption
0 Votos
4 Respuestasindex out of bounds
1 Voto
1 RespuestaPHP Exception Handler
1 Voto
1 RespuestaSubmitting form ERROR!!
0 Votos
3 RespuestasEn tendencia hoy
Time up code for data revision
0 Votes
Data Analysis Course
1 Votes
Web vs python
1 Votes
I want to learn why this error occurs in "while loop" function of Pythone.Can someone explain to me?
1 Votes
Best Python Calculator Code
1 Votes
Animation
1 Votes