def averageGrade(students):
    sum = 0.0
    for key in students:
        sum = sum + students[key]['grade']
    average = sum / len(students)
    return average


def printRecords(students):
    print('There are {:d} students'.format(len(students)))
    i = 1
    for key in students:
        print('Student {:d}:'.format(i))
        print('Name:', students[key]['name'])
        print('Grade:', str(students[key]['grade']))
        i = i + 1

970a92a26502f454f8a17a8585fe6297450afd94
<mask token>

def averageGrade(students):
    sum = 0.0
    for key in students:
        sum = sum + students[key]['grade']
    average = sum / len(students)
    return average


<mask token>

def averageGrade(students):
    sum = 0.0
    for key in students:
        sum = sum + students[key]['grade']
    average = sum / len(students)
    return average


def printRecords(students):
    print('There are {:d} students'.format(len(students)))
    i = 1
    for key in students:
        print('Student {:d}:'.format(i))
        print('Name:', students[key]['name'])
        print('Grade:', str(students[key]['grade']))
        i = i + 1
