Python programming
posted by Anonymous .
1,000 students took an online course. 1/4th of them were from Africa, 1/4th from Europe , 1/4th from South America, and 1/4th from Asia. At the end of the course, the instructor observed that of the top 100 grades, 30 belonged to students from a single geographical area. He argued that since the expected number of students from each area in the top 100 was 25, this was unlikely to have happened by pure chance. Write a function that uses simulation to compute and return an estimate of the probability of at least 30 of the top 100 grades coming from a single geographical area purely by chance.
def test(numTrials):
"""
Uses simulation to compute and return an estimate of
the probability of at least 30 of the top 100 grades
coming from a single geographical area purely by chance
"""

i don't want the answer. just help me visualize the problem and how to go for the solution. i am in class 9th and i don't know anything about integrals, yet. coding is not the problem. i am able to do that