Given a dictionary
grade_counts = {"A": 8, "D": 3, "C": 6, "F": 2, "B":15}
write a Python program that displays the following chart inwhich each row contains a key followed by the number of asterisksequal to the key’s data value. The rows should be printed in keyorder, as shown below.
A: ********
B: ***************
C: ******
D: ***
F: **
没有找到相关结果