Functional Programming With Python

Learning PathSkills: Functional Programming Fundamentals

Functional Programming in Python: When and How to Use It

Functional programming, or FP for short, is a programming paradigm in which the primary method of computation is the evaluation of functions.

Functional programming typically plays a fairly small role in Python code, but it’s good to be familiar with it. At the very least, you’ll probably encounter it from time to time when you’re reading code written by others. You may also find situations where it’s helpful to use Python’s functional programming capabilities in your own code to make it more concise.

Functional Programming With Python

Learning Path ⋅ 9 Resources

Title image for Functional Programming in Python: When and How to Use It (Functional Programming in Python: When and How to Use It)

Tutorial

Functional Programming in Python: When and How to Use It

Learn about functional programming in Python. You'll see what functional programming is, how it's supported in Python, and how you can use it in your Python code.

Title image for Functional Programming in Python (Core Python Tutorials Artwork)

Course

Functional Programming in Python

Learn how to approach functional programming in Python. You'll cover what functional programming is, how you can use immutable data structures to represent your data, as well as how to use filter(), map(), and reduce().

Title image for How to Use Python Lambda Functions (How to Use Python lambda Functions)

Course

How to Use Python Lambda Functions

Learn about Python lambda functions. You'll see how they compare with regular functions and how you can use them in accordance with best practices.

Title image for Python Inner Functions (Python Inner Functions)

Course

Python Inner Functions

Learn what inner functions are in Python, how to define them, and what their main use cases are.

Title image for Python's map() Function: Transforming Iterables (Python's map(): Processing Iterables Without a Loop)

Course

Python's map() Function: Transforming Iterables

Learn how Python's map() works and how to use it effectively in your programs. You'll also learn how to use list comprehension and generator expressions to replace map() in a Pythonic and efficient way.

Title image for Filtering Iterables With Python (Python's filter(): Extract Values From Iterables)

Course

Filtering Iterables With Python

Learn how Python's filter() works and how to use it effectively in your programs. You'll also learn how to use list comprehension and generator expressions to replace filter() and make your code more Pythonic.

Title image for Python's reduce(): From Functional to Pythonic Style (Python's reduce(): From Functional to Pythonic Style)

Tutorial

Python's reduce(): From Functional to Pythonic Style

Learn how Python's reduce() works and how to use it effectively in your programs. You'll also learn some more modern, efficient, and Pythonic ways to gently replace reduce() in your programs.

Title image for Recursion in Python (Recursion in Python: An Introduction)

Course

Recursion in Python

A recursive function is one that calls itself. In this video course, you'll see what recursion is, how it works in Python, and under what circumstances you should use it.

Title image for Thinking Recursively in Python (Core Python Tutorials Artwork)

Course

Thinking Recursively in Python

Learn how to work with recursion in your Python programs by mastering concepts such as recursive functions and recursive data structures.

Got feedback on this learning path?

Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!

« Browse All Learning Paths