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

Simon Nordström
Simon Nordström
492 Points

I need help with learning errors.py on the part that wants me to fix str and vbr without changing it

The problem is, that in the video course he only said what it is without saying how to fix it in a line of code

print("Hello") print("name") "name = simon" print("Let's do some math!") print(5 + "a") < there is the problem

print("Thanks for playing along!")

errors.py
print("Hello")
print(name)

print("Let's do some math!")
print(5 + "a")

print("Thanks for playing along!')

2 Answers