Answers for "calculate sum in 2d list python"

-1

calculate sum in 2d list python

>>> x=[[1, 2],[3, 4],[5, 6]]                                                   
>>> sum(sum(x,[]))                                                             
21
Posted by: Guest on July-03-2021

Code answers related to "calculate sum in 2d list python"

Python Answers by Framework

Browse Popular Code Answers by Language