• 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
Quiz App: Step 3, Restart Button
0 Votes
How to do a responsive page?
1 Votes
Running a python code
1 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
PHP
0 Votes
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How create a new language ?
0 Votes
Is there any debugging practice here or not?
1 Votes
Ai in future
1 Votes
Hola
0 Votes