Python 101 – An Intro to Functions
Functions are reusable pieces of code. Anytime you find yourself writing the same code twice, that code should probably go in a function. For example, Python has many built-in functions, such as dir() and sum(). You also imported the math module and used its square root function, sqrt(). In this tutorial you will learn about: […]
Python 101 – An Intro to Functions Read More »