You have been calling functions since the first lesson: print, len, input. Now you write your own. A function is a named block of code that you can run whenever you like, with different inputs, and that can hand a result back. It is the main way of keeping programs short, tested and readable.
More lessons in Complete Python Programming