🎯 What you'll learn: How to define reusable code blocks with def. Parameters vs arguments, default values, *args and **kwargs, return values, multiple returns. Variable scope — the LEGB rule. Lambda functions. Docstrings. And the most important principle in programming: Don't Repeat Yourself (DRY).
1-B 2-B 3-B 4-C | 5 def 6 return 7 = def square(n): return n * n 8 = 16 9 = def greet(name): print(f'Hello {name}') | 10 = print shows output; return passes a value to the caller