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 trialjonlohr
442 Pointsdo we edit the code that is already written or type it out in our own workspace?
when i attempt to add changes to the code, it doesn't allow me to make any.
print("Hello")
print(name)
print("Let's do some math!")
print(5 + "a")
print("Thanks for playing along!')
1 Answer
Chris Freeman
Treehouse Moderator 68,454 PointsYou should be able to place the cursor into the black background buffer and edit the existing code.
Try reloading the page. Maybe it didn't load completely.
jonlohr
442 Pointsjonlohr
442 Pointsthanx buddy! you were right..it was just buggy lol. One more quick question for ya if not too much to ask! Still on python but a bit further.. I am supposed to add two variables together to equal a "total" then print the total
EX:
but it states it is wrong..i have been trying to figure this out for 20min, could you possibly point me in the direction of what i am doing wrong here please?
[MOD: added ``` python markdown formatting -cf]
Chris Freeman
Treehouse Moderator 68,454 PointsChris Freeman
Treehouse Moderator 68,454 PointsYour current line is appending two strings:
You need to remove the quotation marks to reference the variable names: