The Startup
Published in

The Startup

Functional Programming: Reduce() Function in Python

Reducing sequence to a single output value!

Photo by Markus Spiske on Unsplash

In the previous string of articles, I have talked about the importance of immutable data structures in functional programming. I have also covered the filter() function in the last article.

Let’s start from where we left. In this article, I will be talking about the reduce()…

--

--

--

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Connecting IOT Networks Behind a NAT with Grenache

CS50P Problem Set 2 Coke Machine

How to enable default interactivity in MatLab?

What makes good software architecture

DevFest Kampala 2019 — Bringing together a Diverse and Inclusive Community of Developers

macOS: Built-in Web Server with several PHP versions and Xdebug

Introduction to CSS Grid you may have missed — Part 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vishal Sharma

Vishal Sharma

Here we write again

More from Medium

Difference Between For and While Functions in Python Programming Language

Object-oriented Programming in Python — Chapter 2. The “Composite” Pattern

What is a type hint in Python?

Check If A Number Contains 1 But No Strings Allowed