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

Nathan Emily
Nathan Emily
494 Points

I am not sure why this function from the video is not working, the funcitnos.py is saved before I use it,nothing works

I have been on this video tutorial for over an hour, if I make a new file and save it I will copy exactly what Kenneth has given us and yet it will not work if I try to run it in the python shell. Also I have tried to run this by doing python and entering the mode in the shell and doing functions.py and also have done it with python functions.py and even just functions.py I will either get a syntx error points to the 'S' at the end of the file name or I will get a new team tree house line printing nothing below.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,423 Points

And please include explicitly how you are running your code and the full stacktrace error you see.

1 Answer

nakalkucing
nakalkucing
12,964 Points

I'd love to help. Would you please post the code your having trouble with? Thanks, Nakal