[ad_1]
Solution is simple:
i = 0
total = 0
while i < len(my_list):
total += my_list[i]
average = total / len(my_list)
i += 1
[ad_2]
solved Using a while loop instead of a for loop in Python [closed]
[ad_1]
Solution is simple:
i = 0
total = 0
while i < len(my_list):
total += my_list[i]
average = total / len(my_list)
i += 1
[ad_2]
solved Using a while loop instead of a for loop in Python [closed]