Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.

Join 30000+ teachers and students using TTIO.

Functions and Procedures

Technically speaking, the definition for a function is that it always returns a single value. Procedures are different in this regard. In Python, however, we refer to functions for all modules, so this is an important thing to note.

The following definition may also be useful: A procedure performs a task, whereas a function produces information. Functions differ from procedures in that functions return values, unlike procedures which do not. However, parameters can be passed to both procedures and functions.

Teaching and Learning Presentation

www.teachyourselfpython.com