0:59 Click to skip the Introduction to Lesson 12.2.
10:10 Click to get an explanation on how a return statement causes a function to break (stop executing)
22:51 Click to skip directly to the Lesson 12.2 Challenge Program
Lesson 12.2 continues the explanation on how to create user defined functions. It also explains how Python handles multiple parameters and arguments and how a return statement breaks (stops the execution) of a function call. Finally, the Lesson 12.2 Challenge Program will have you make a modified random number generator as well as a basic dice rolling function.
This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.
You can download a copy of Python from http://www.python.org/downloads/.
Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.