• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

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 Votes
10 Answers
19th May 2017, 9:48 PM
Tanner
All around programing language.
cc#c++csshtmljavajavascriptperlpoppython
2 Votes
3 Answers
8th Jan 2017, 8:30 PM
Nadario Seays
Nadario Seays - avatar
Hey guys it's nice been here pls I'm having problem sticking to a language about wah I wanna do
basiccc++csshtmljavajavascriptphytonpopprogrammingvisual
0 Votes
5 Answers
20th Dec 2016, 6:06 AM
Ogunfowote Tosin
Ogunfowote Tosin - avatar
< Previous1...34Next >
Hot today
Hi help me I am new
2 Votes
My codebits section is full of deleted codes
11 Votes
Why are there like 10 community-made lessons?
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Why so many mathematical questions in challenges?
0 Votes
Where can I learn c#
0 Votes
Where did mess up....
1 Votes
DBA for finalist university student projects
0 Votes
best language if i want to learn about AI
0 Votes
New learner
0 Votes