### Instruction: the average marks of a class of 12 students is 40 and that of another class of 28 students is 60 . find the average marks of all the students ? Let's write a Python program to solve it.### Response: n0 = 12.0
n1 = 40.0
n2 = 28.0
n3 = 60.0
t0 = n0 + n2
t1 = n0 * n1
t2 = n2 * n3
t3 = t1 + t2
answer = t3 / t0
print(answer)