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 trialDarion Moore
1,597 PointsFunctionality of Functions....
Ok, so I'm working on writing and calling functions with Python and for some reason no matter what I do I can't get the console in workspaces to call my functions. I've checked everything from the version of workspaces I'm using to my syntax and spacing. I can't figure out why the function won't "answer" when I call it. Can anyone point me in the right direction?
1 Answer
Steven Parker
231,275 PointsTry making a snapshot of your workspace and posting the link to it here.
In the meantime, are you constructing your functions in a file, and then calling them from interactive mode? If so, did you remember to import your functions first?
Dan Oswalt
23,438 PointsDan Oswalt
23,438 PointsCan you share your code? Or your workspace?