Kizspy.me
AI, 100) (Jay, BA, 31) (Ted, PH, 64) (Joe, BX, 50) (Ali, EC, 0) (Bob, PE,
30) (Ray, HX, 81) (Ada, PZ, 25)
(Leo, CS, 85) (Eli, ZE, 40) (Ben, SE, 58) (Mia, IS, 42) (Tom, AI, 100) (Jay,
BA, 31) (Ted, PH, 64) (Joe, BX, 50) (Ali, EC, 0) (Bob, PE, 30) (Ray, HX,
81) (Ada, PZ, 25)

def f4(self, x) - Sort all students with score >= x (x=40) in
ascending order of score. If multiple students have the same score, sort
them by name in descending order. If multiple students have the same
name, then sort them by major in descending order. The other students
(with score <x) must remain in their original positions. Output in this case
like that:
OUTPUT
(Leo, CS, 85) (Eli, ZE, 90) (Sam, M, 67) (Max, SE, 50) (Mia, IS, 42) (Max,
AI, 50) (Max, DS, 50) (Jay, BA, 31) (Ted, PH, 64) (Ann, CH, 50) (Joe, BI,
50) (Ali, EC, 12) (Bob, PE, 37) (Ada, PX, 50)
(Mia, IS, 42) (Max, SE, 50) (Max, DS, 50) (Max, AI, 50) (Joe, BI, 50) (Ann,
CH, 50) (Ada, PX, 50) (Jay, BA, 31) (Ted, PH, 64) (Sam, M, 67) (Leo, CS,
85) (Ali, EC, 12) (Bob, PE, 37) (Eli, ZE, 90)
Zoom
Question 2: (4 marks)
You are required to complete methods in the file BSTree.py. The class Movie
+ 100%
Close