Python Workshops for Beginners/Saturday September 27th homework: Difference between revisions

imported>Ynasser
imported>Ynasser
Line 39:
'''Exercise 2'''
 
You must have completed exercise 1 to do exercise 2. If you cannot complete exercise 1, just make up values for dictionary and try this exercise anyway.
 
Write a program which determines the percentage of the total number of speaking parts each character had. Use the dictionary you created in exercise 1. Here's an example to make the problem more clear:
Anonymous user