Using a function is like writing separate smaller programs that we can then reuse over and over again. I will show you how to create your own python functions.
Unlike humans who get bored easily, computers are great at repetitive tasks. They do them fast. We have to have an easier way of having a computer do a repetitive task instead of writing the same line of code over and over and over. We use loops to do this.