You are viewing a single comment's thread. Return to all comments →
Can be done in python as well
print reduce((lambda x, y: x + y ), arr)
Seems like cookies are disabled on this browser, please enable them to open this website
A Very Big Sum
You are viewing a single comment's thread. Return to all comments →
Can be done in python as well