Simple Array Sum

  • + 0 comments

    Python Code:

    def simpleArraySum(ar):

    # Write your code here
    ar_sum = 0
    for i in ar:
        ar_sum += i
    return ar_sum