2 Ways to Find the Sum of Elements in a List in Python

Fatos Morina
Python in Plain English
1 min readJun 28, 2021

--

Photo by Manik Roy on Unsplash

In one way or another, you are probably constantly using lists in your day-to-day job.

This means that you may at least need to find their sum which is part of a task.

You probably know a sort-of universal way of finding the sum of elements in a list is pretty much all programming languages out there:

--

--