Imagine you're training multiple Codémon and need to display a welcome message for each one. Without functions, you'd have to write the same code over and over:
Loading editor...
This is repetitive and hard to maintain. What if you want to change the message? You'd have to update it in multiple places!
Functions solve this problem by letting you write code once and reuse it many times. This follows the DRY principle: Don't Repeat Yourself.