grade1 = float(input('Type your first grade: '))
grade2 = float(input('Type your second grade: '))
average = (grade1 + grade2) / 2
print('Your average is {:.2f}'.format(average))
grade1 = float(input('Type your first grade: '))
grade2 = float(input('Type your second grade: '))
average = (grade1 + grade2) / 2
print('Your average is {:.2f}'.format(average))