Please answer it in Python Write a function show_scores that takes as arguments a dictionary of score scores and a character string nature and ‑ache the scoreboard. Generally, nature will take the value "Round" or "Part" but one could imagine having other values. The order in which the players are aché ‑is irrelevant. We will respect the format of the ‑following achage obtained for the execution of For example: show_scores({'tata': 3,'titi': 12,'toto': 0}, "Round"), (with 3 space in front of each player's name): #return => Round scores: tata : 3 point(s) titi: 12 point(s) toto : 0 point(s) show_scores({'bata': 6,'biti': 1,'boto': 2}, "Part") #return => Part scores: bata : 6 point(s) biti: 1 point(s) boto : 2 point(s)
Please answer it in Python
Write a function show_scores that takes as arguments a dictionary of score scores and a character string nature and ‑ache the scoreboard.
Generally, nature will take the value "Round" or "Part" but one could imagine having other values. The order in which the players are aché ‑is irrelevant. We will respect the format of the ‑following achage obtained for the execution of
For example:
show_scores({'tata': 3,'titi': 12,'toto': 0}, "Round"), (with 3 space in front of each player's name):
#return =>
Round scores:
tata : 3 point(s)
titi: 12 point(s)
toto : 0 point(s)
show_scores({'bata': 6,'biti': 1,'boto': 2}, "Part")
#return =>
Part scores:
bata : 6 point(s)
biti: 1 point(s)
boto : 2 point(s)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)