One common mistake when writing code is copying and pasting the same lines of code in different places. This makes your code hard to manage and easy to break if you need to make changes later. That’s where functions come in. A function is a block of strong that performs a specific task. Instead of repeating strong, you can write it once inside a function and then use (or "call") the function whenever you need it. In this lesson, you’ll learn how to write functions and use them to make your strong more organized, efficient, and easy to reuse.
By the end of this lesson, you'll be able to:
permitted