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

Practice input and output in Python with Madlibs

I am not sure why I am not able to get the correct answer. I did everything Craig showed and when I type in python madlibs,py I get an error.

3 Answers

Are you typing a comma or a period in madlibs.py?

Yes. I typed it many times. I gave up. Thanks for responding. I was wondering since I know the best way for you to see if I made any mistakes, I would need to copy my work. How do I do that?

You should be typing a period.

To share your work you can create a snapshot. It is the camera icon in the upper right corner of the workspace. Or you can copy/paste with keyboard shortcuts

Windows

Ctrl + X = cut

Ctrl + C = copy

Ctrl + V = paste

Mac

Cmd + X = cut

Cmd + C = copy

Cmd + V = paste

See the Markdown Cheatsheet below for how to format code that you paste.