Python Tutorial v3.2.5 Lesson 12.1 - User Defined Functions and the Return Statement

Published: 06 June 2014
on channel: Programming Tutorials by Steve
1,905
21

2:37 Click to skip the Introduction to Lesson 12.1.
9:03 Explanation of the return statement vs. the print() function.

Lesson 12.1 introduces user defined functions. 'def' and 'return' are both introduced and explained, as well as the difference between a parameter and an argument. An explanation is given of how a return statement works and how it is different from a print() function, which is a common hurdle for many beginning programmers.

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.


On this page of the site you can watch the video online Python Tutorial v3.2.5 Lesson 12.1 - User Defined Functions and the Return Statement with a duration of hours minute second in good quality, which was uploaded by the user Programming Tutorials by Steve 06 June 2014, share the link with friends and acquaintances, this video has already been watched 1,905 times on youtube and it was liked by 21 viewers. Enjoy your viewing!