A function sorts the list it is given, and then returns a slice of it. The caller changes the slice.
def top_two(scores):
scores.sort(reverse=True)
return scores[:2]
marks = [55, 90, 72, 81]
best = top_two(marks)
best.append(0)
print(marks[0], len(marks), best)
What does the program print?