def iocsvex(input file):
 file = open(„Input file”, "r")
 uczniowie = []
 for line in file :
     line = line.split(",")
     grades = line [2:]
     grades[]
     for grade in grades:
       grades.append(int(grade))
       people = {"imie": line[1], "nazwisko", "srednia"}
       line[0], "srednia": sum(grades)/len(grades)
       peoples.append[people]
       return people

       print(iocsvex)
     
