Simple Array Sum

  • + 0 comments

    def simpleArraySum(ar): # Write your code here s=0 for i in ar: s+=i

    return s