Alistair is the tournament director for an esports league.
He manages a group of competitive gamers and wants a program to analyse the performance of players over a series of rounds.
# Test data containing players, their names, and scores across 4 rounds
players = [
{"firstName": "Alex", "lastName": "Chen", "scores": [120, 150, 90, 200]},
{"firstName": "Bianca", "lastName": "Silva", "scores": [80, 110, 130, 95]},
{"firstName": "Charlie", "lastName": "Patel", "scores": [210, 190, 220, 180]},
{"firstName": "Diana", "lastName": "Gomez", "scores": [150, 160, 170, 140]}
]
Write a program to:
Your program must function correctly even if more players are added or if the number of rounds (scores) per player changes.