0

Calculating the average using python

A class of ten students took a quiz. The grades (integers in the range 0-100) for this quiz are available to you. Determine the class average on the quiz.

26th Jun 2020, 12:58 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar
5 ответов
+ 2
So whats your question?can you be specific and ask one instead of just posting your homework?
26th Jun 2020, 1:05 PM
Abhay
Abhay - avatar
0
I just need someone to put me through not necessarily the solution
26th Jun 2020, 1:06 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar
0
OK i did this #A class of ten students took a quiz. The grades (integers in the range 0-100) for this quiz are available to you. Determine the class average on the quiz. students=10 grades=range(0,100) total=0 grade=(60,40,40,78,89,76,77,59,90,66) average=sum(grade)/len(grade) print("class range =",average)
26th Jun 2020, 1:09 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar
0
I was trying to interpret the question at first I guess I should have commented it.. I forgot to remove the total, I used it in my previous solution
26th Jun 2020, 1:14 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar
0
OK thanks everyone but I think my solution is not well comprehensive, too cheap I guess.. Is there another way for me to solve it
26th Jun 2020, 1:17 PM
Ajisegiri Sunday
Ajisegiri Sunday - avatar