numbers sum_num for num in numbers sum_num sum_num num averige_num sum

1
2
3
4
5
6
7
numbers = [1, 2, 3, 4, 5, 6]
sum_num = 0
for num in numbers:
sum_num = sum_num + num
averige_num = sum_num / len(numbers)
print(sum_num)
print(averige_num)