You are viewing a single comment's thread. Return to all comments →
you also use "sum" and pass it the list.
def simpleArraySum(n, ar): return sum(ar)
Seems like cookies are disabled on this browser, please enable them to open this website
Simple Array Sum
You are viewing a single comment's thread. Return to all comments →
you also use "sum" and pass it the list.