8. Functions and debugging#
We’ve seen earlier how to use functions from Python libraries such as NumPy.
In this section, we will explore how to define our own Python functions, and why it’s often good practice to write them.
We will also learn a more powerful way for debugging within VS Code (as compared to using print
statements).