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 trialJustin McKenzie
6,724 PointsJust a head's up, there's no print method here even though the video implies something will be printed out when running
Might confuse some people, just wanted to give you the head's up since I'm using this on the beta version
Md. Syful Islam
9,463 PointsThank you, you have cleared something that could raise confusion. (y)
3 Answers
tomtrnka
9,780 PointsShe's talking about workspace, where the print method is present and you can run it without trouble.
num = 10
def set_num():
num = 5
set_num()
print(num)
Tamara Orujzade
1,139 PointsCorrect. My workspace didn't print anything without the print statement.
Ary de Oliveira
28,298 Pointsdef print_name():
print('Ary de Oliveira')
def print_favorite_name():
print('Ary')
print_name()
print_favorite_name()
Adam N
70,280 PointsYour block of code is not relevant to what he's referring to.
Brice Roberts
22,415 PointsBrice Roberts
22,415 PointsFor anyone who has racked their brain over this....