#Program to calculate statistics from student test scores.
midterm\_scores = [99.5, 78.25, 76, 58.5, 100, 87.5, 91, 68, 100]
final\_scores = [55, 62, 100, 98.75, 80, 76.5, 85.25]
#Combine the scores into a single list
all\_scores = midterm\_scores + final\_scores
num\_midterm\_scores = len(midterm\_scores)
num\_final\_scores = len(final\_scores)
print(num\_midterm\_scores, 'students took the midterm.')
print(num\_final\_scores, 'students took the final.')
#Calculate the number of students that took the midterm but not the final
dropped\_students = num\_midterm\_scores - num\_final\_scores
print(dropped\_students, 'students must have dropped the class.')
lowest\_final = min(final\_scores)