Python Functions

The Python Programming Language: Functions

add_numbers is a function that takes two numbers and adds them together.

add_numbers updated to take an optional 3rd parameter. Using print allows printing of multiple expressions within a single cell.

add_numbers updated to take an optional flag parameter.

Assign function add_numbers to variable a.