This paste expires on 2023-04-22 19:01:53.797584. Repaste, or download this paste. . Pasted through web.

players = [
    ("Player 1", 2200),
    ("Player 2", 1800),
    ("Player 3", 2000),
    ("Player 4", 1900),
    ("Player 5", 2300)
]
sorted(players, ?) // hwo to sort by second value which is rating?
Filename: None. Size: 208b. View raw, , hex, or download this file.