Functions and Code Structuring
In this lesson, we will learn what functions are in Python and why they are used. We will understand how to write repeated logic more cleanly, accept parameters, return results, and structure code in data analytics workflows. ## Lesson objective In this lesson, we will learn functions and code structuring in Python. In the previous lessons, we covered variables, data types, lists, dictionaries, conditions, and loops. With these concepts, we can already write simple Python code. However, as code grows in real work, it becomes important to keep it clean and organized. If we write the same calculation several times, it is not a good approach.