def soma(x):

    total = 0
    for i in x:
        total += i
    return total
l1 = [3,7,1,90,2]

print(soma(l1))