“Right!” Simon said. “Believe it or not, many years ago, computers were made of electro-mechanical things called relays that had contacts similar to light switches. One day, the engineers discovered an error in their program. Their code was correct, but they found a bug stuck between the contacts in one of the relays. That’s why programmers call errors bugs. The bugs are usually hidden in your code, and you must remove them to make your program work. What else?”
“You said that I shouldn’t repeat myself. And you said we were going to write our own function today.”
“We used a couple of functions already,” Erik answered. “We used print() and input(). You said that somebody wrote them so we can use them. We can also use arguments with functions. We just have to put the arguments between the parentheses, and the function will do something with them, like print them.”