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

Python Python Basics (2015) Logic in Python Fully Functional

Functionality 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?

Can you share your code? Or your workspace?

1 Answer

Steven Parker
Steven Parker
231,269 Points

Try 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?