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
Filip Zwozdziak
553 PointsFunctions don't run in the Workspace's Console
def hows_the_parrot(): print("He's pining for the fjords!")
hows_the_parrot()
def lumberjack(name, pronoun): print("{}'s a lumberjack and {} OK!".format(name, pronoun))
lumberjack("Kenneth", "he's") lumberjack("Sarah", "she's") lumberjack("Sam", "they're") lumberjack()
- IS THERE SOMETHING OFF WITH THAT CODE? AS IT DOES NOT RUN IN THE CONSOLE AS IT SUPPOSED TO (according to Kenneth and his videos).
Cheers for helping out my mates! : )
1 Answer
Jeremy Hill
29,567 PointsYou might use the markdown sheet to get your code in the python format- it's hard to check for indentation issues when it hasn't been correctly formatted.
It does look like you called the lumberjack method at the very end without any arguments- it's supposed to have two arguments in there isn't it?