M04 Functions
Topics
- Built-in functions
- User-defined functions
- Variable scope
- Lambda functions
- Design of functions
- Recursion
Outcomes
- Be able to use Pythons native and imported functions
- Be able to write your own functions
- Understand concept of variable scope
- Be able to write lambda functions and understand their use cases
- Grasp basic principles of function design
- Implement simple recursion functions
Readings
Required
Optional
- McKinney, Python for Data Analysis, Appendix A: Python Language Essentials
- Read section on Functions
- Functions (W3S)
- Global and Local Variables (GFG)
- Lambda Functions (Real Python)