Simple Array Sum

  • + 0 comments

    def simpleArraySum(ar): finalSum = 0 for i in range(len(ar)): finalSum += ar[i] return finalSum

    python