if 15 students in a class average 75 % on an exam and 10 students average 90 % on the same exam , what is the average in percent for all 25 students ?
n0 = 15.0
n1 = 75.0
n2 = 10.0
n3 = 90.0
n4 = 25.0
t0 = n0 * n1
t1 = n2 * n3
t2 = t0 + t1
answer = t2 / n4
print(answer)