Lesson 8️⃣.2️⃣: Functions & Maintenance

Bitesize Key points from this lesson

  1. This lesson was focused on Functions and the importance of code maintenance.
  2. We learned about parameters and arguments, which allow us to pass information
  3. We explored the concept of return values and how functions can return values using the return statement.
  4. we spoke about refactoring code by breaking it down into smaller, reusable functions.
  5. finally, we explored the concept of local and global scope, understanding how variables defined within a function are local to that function, while variables defined outside of functions are global.

Activities

The best way to improve your programming skills is to practice.
I created a course for learning Python that you can follow alongside these lessons.
You can check these out at BitFez’s Learning to code in Python Roadmap 🛣