Instruction
Good job! Next, we want to find the best player in a given club by a given parameter.
Exercise
Create a function named find_best_in_club(players, club, user_choice). The function should do the following:
- Pick all players from the
playerslist whose current club (the sixth place in each tuple –player[5]) is equal to theclubargument. - Return the best player in terms of the tuple element indicated by the
user_choiceargument.
If there are no players from a given club, simply return None.
Stuck? Here's a hint!
Use the max() function with the optional key argument and the itemgetter function imported from the operator module.
Create a temporary list named club_players. Iterate over all players and use club_player.append() if a given player belongs to a given club.



