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

Use of return and continue?

I've re-watched the videos a whole bunch of times, but the uses for continue and return just flew over my head. Can anyone explain what they're supposed to do, and where I can expect to use them?

1 Answer

When you try to learn Python then this is your new programming "bible" ;D https://docs.python.org/2/reference/simple_stmts.html#continue https://docs.python.org/2/reference/simple_stmts.html#return

Write a comment, if that doesnt help you

Thanks! Python Docs just made everything a whole lot easier!

Thanks! Python Docs just made everything a whole lot easier!