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 trialSimon Nordström
492 PointsI 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!")
print("Hello")
print(name)
print("Let's do some math!")
print(5 + "a")
print("Thanks for playing along!')
2 Answers
Christopher Shaw
Python Web Development Techdegree Graduate 58,248 PointsYou can correct / change the lines, just dont delete any.
Start with the last line. The quote marks at the start of the string are not the same as the end.
Simon Nordström
492 Pointsok, thanks!