# Author        : Steven Miller
# Course Number : 22C:016 SCA
# Student ID    : 4784653

def gradeDistribution(examScores) :
    ''' Returns the distribution of grades in examScores'''
    
    distribution = [0] * 10      # initialize the distribution
    for score in examScores :
        for bin in range(0,10):  # check each "bin" in the distribution
            if score < ((bin + 1) * 10.0) :   # if score falls in this bin
                distribution[bin] += 1        # update the bin count
                break                         # and stop
    return distribution
