Let's first quickly review functions in Python.
def bigger(first, second): print max(first, second) return True
In the example above:
- We define a function called
biggerthat has two arguments called
- Then, we print out the larger of the two arguments using the built-in function
- Finally, the
Now try creating a function yourself!