Обсуждения
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 голосов
10 ответовHelp with a Code
0 голосов
3 ответовThis is a genuine question.
3 голосов
3 ответовWhy this code is working?
0 голосов
1 ответPython3 for loop nested
1 голос
4 ответовWhat's wrong in this method?
0 голосов
2 ответовNeed help with my Scanner.
1 голос
2 ответовWhy doesn't background Color work?
0 голосов
2 ответовNo 2nd input char after 1st input
0 голосов
4 ответовHey 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 голосов
9 ответовCompilation Error...
1 голос
3 ответовneed help with python ml
0 голосов
2 ответовMD5 encryption
0 голосов
4 ответовWhats wrong with my code?
0 голосов
5 ответовindex out of bounds
1 голос
1 ответPossible Explanations?
1 голос
1 ответPHP Exception Handler
1 голос
1 ответCan you give me solution?
0 голосов
2 ответов[solved]What's wrong in this?
0 голосов
2 ответовSubmitting form ERROR!!
0 голосов
3 ответовАктуальное сегодня
Python
2 Votes
Are websites hackable?
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes