Chapter 3: FunctionsΒΆ
In this chapter of the course we will learn about functions in Python. Knowing how to use functions and create your own function is very important when coding. Functions allow you to write modular code, write code that is easier to read, and write reusable code. Some of the concepts we will learn in this chapter include:
What are functions and why do we use them?
Examples of functions that are built into Python.
Defining your own functions.
Function arguments
positional arguments
keyword arguments
default arguments
return
statementLocal and global scope