Is it correct?


#1

n = [3, 5, 7]

def total(numbers):
    result = 0
    for item in numbers:
        result = result + item
    return result

#2

yes, it is. Why wouldn't it be?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.