Q&A Discussões
Help with a Code
0 Voto
3 RespostasWhy 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 Voto
10 RespostasHey 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 Voto
9 RespostasCompilation Error...
1 Voto
3 RespostasMD5 encryption
0 Voto
4 Respostasindex out of bounds
1 Voto
1 RespostaPossible Explanations?
1 Voto
1 RespostaPHP Exception Handler
1 Voto
1 RespostaQuente hoje
Guys help please
1 Votes
Python question
2 Votes
Are websites hackable?
1 Votes
Python
1 Votes
C# and sql
1 Votes
TICTACTOE
0 Votes
Error
0 Votes
What course to take for AI?
0 Votes
Learn python
0 Votes