0

How would i find the mean of these numbers in a for loop?

this is my code so far a = int(input("enter your first number")) b = int(input('enter your second number must be divisible by 3')) count = 0 for threes in range(a,b): if threes%3 == 0: print(threes) I am confused as you cant use the mean function because it is not a list

29th May 2020, 12:18 PM
Mehitabel
2 Réponses
0
How do you sum the numbers in a loop?
29th May 2020, 12:39 PM
Mehitabel