Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
NBA Stats Application
The Helper Function
4. Printing all players' data
Core Functions
Menu Functions
Putting it all together

Instruction

Very well done! Now that we have a function that prints a single player, let's add a function that prints all players from the list!

Exercise

Create a function named print_all_players(players) that accepts a list of tuples, iterates over the list, and invokes the print_player() function for each player.

Stuck? Here's a hint!

Use a simple for loop:

for player in players: