Functional Programming Toolkit: Maps, Filters, and More

While writing functional code will be your responsibility, Python also includes a number of tools for functional programming. These built-in functions cover the basics, and they should help you write better code:

map(function, iterable)

map(function, iterable) applies the function to each item in iterable and returns either a list in Python 2 or an iterable map object in Python 3:

Get hands-on with 1200+ tech skills courses.