Join 36000+ teachers and students using TTIO.
Learning Video from TeachYourselfPython
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