Introduction to programming in Python

Functions

How to define a function? Why anyone would want to do that?