We use Python 3.6

go back Level: Intro (img: IN / score: 1) level Bite 103. Loop through a dictionary and pluralise a word

294 out of 307 users completed this Bite ...
Will you be Pythonista #295 to crack this Bite?
Average Bite difficulty 1-10 rating: 3.5
» You can do it! 😌

You're given a dictionary of people and the number of games they've won.

Use a for loop to iterate over the dictionary and print out the users name and how many games they've won in the following format: sara has won n games

To make it human readable, pluralise the word game to suit the number of games won.

Github login button