Instruction
Perfect! Let's move on to checking the relationship between a player and a club.
Exercise
Create a function named show_relation_player_club(players). The function should do the following:
- Get a player's index from the user. Use the
get_player_index(players)function. - Get a club index from the user. Use the
get_club_index(clubs)function. - Print the relationship between the player and the club. Use the
check_player_club_relation(player, club)function.
Stuck? Here's a hint!
Once you get the player index and the club name from the user, use:
print(check_player_club_relation(players[player_index], clubs[club_index]))



