How can we do Functional programming in Python?

In Functional Programming, we decompose a program into functions.

These functions take input and after processing give an output.

The function does not maintain any state.

Python provides built-in functions that can be used for Functional programming.

Some of these functions are:

I. Map()

II. reduce()

III. filter()

Event iterators and generators can be used for Functional programming in Python.


Posted

in

Tags:

Comments

Leave a Reply