Module 3

Functions, Comprehensions, and Functional Patterns

Covers function definition, positional and keyword parameters, default values, *args/**kwargs, scope, and recursion, then introduces list, dict, and set comprehensions alongside lambda functions and the map/filter functional programming patterns.

Topics

This module covers 7 topics. Open a topic to see its subtopics.

  1. Defining Functions4 subtopics
  2. Parameters and Arguments4 subtopics
  3. Variable-Length Arguments: *args and **kwargs4 subtopics
  4. Scope and Variable Visibility4 subtopics
  5. Recursion4 subtopics
  6. Comprehensions5 subtopics
  7. Lambda Functions and Functional Patterns5 subtopics

Module Content

17 items.