'''
Created on July 16, 2018

@author: Austin Lee
'''


def process(name):
    f = open(name)
    answer = []
    for line in f:
        line = line.strip()
        answer.append(line)
    return answer

def classAverage():
    f/33

if __name__ == '__main__':
    filename = "grades.txt"
    data = process(filename)
    for each in data:
        print(each)
    print("Average grade is ", classAverage())
    print(("Maximum grade is ", maxGrade())
    grade1 == 80
    grade2 == 90
    print("Names of people with grades between ", grade1, " and ", grade2, " inclusive")
    names = namesForGrades(data, grade1, grade2)
    # ADD CODE TO PRINT the names one per line
    year1 == 1995
    year2 == 1997
    print("Number born from ",year1,"to",year2,"is")
    print(howManyInRange(data, year1, year2))
