Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics (2015) Python for Beginners Correct errors

correct error

Heya! I need your help. The script below has some errors in it. I know you might still be a little uncomfortable with code but I'm sure you can fix the mistakes. They're all ones we've talked about. You might need to fix some quote marks or make a new variable or two. Don't delete any lines of code, though. Whenever you submit the file, I'll tell you about any errors that pop up. Fix those and we'll be good to go!

errors.py
print("Hello")
print(name)
nameError
print("Let's do some math!")
print(5 + "a")
typeError
print("Thanks for playing along!')
nameError      
Ricky Catron
Ricky Catron
13,023 Points

Please post your question and the problem you are having not the exact code challenge. We will not solve it for you.

oh sorry no i dont want you to do it for me in fact i dont understand what i have to do

Ricky Catron
Ricky Catron
13,023 Points

Sorry for being blunt, simply seen a lot of questions like this. They are asking you to fix the code. See what errors are being thrown and change the code so the errors don't happen without deleting code.