quiz1 = int(raw_input("Enter quiz 1 score: "))
quiz2 = int(raw_input("Enter quiz 2 score: "))
quiz3 = int(raw_input("Enter quiz 3 score: "))
# Find the lowest
if quiz1 <= quiz2 and quiz1 <= quiz3:
lowest = quiz1
elif quiz2 <= quiz1 and quiz2 <= quiz3:
lowest = quiz2
elif quiz3 <= quiz1 and quiz3 <= quiz2:
lowest = quiz3
#Even better:
#lowest = min(quiz1, quiz2, quiz3)
print "Dropping the", lowest
average = (quiz1 + quiz2 + quiz3 - lowest) / 2.0
print "Your average is", average
if average >= 90:
print "Your grade is A"
elif average >= 80:
print "Your grade is B"
elif average >= 70:
print "Your grade is C"
elif average >= 60:
print "Your grade is D"
else:
print "Your grade is F"