Posts by JoaoVictorAPRENDIZ • 1 point
1 post
-
0
votes3
answers2069
viewsQ: Calculate the arithmetic mean of the integers between 15 (inclusive) and 100 (inclusive)
I need to calculate the arithmetic average of the integers between 15 (inclusive) and 100 (inclusive). I made this code: x=0 for i in range(15,101): x=x+i print('%d / %d = %5.1f' % (x,i,x/i)) If the…