I Can Read It, Can You?
This assignment was inspired by the following graphic which I saw on Facebook:
Assignment
Write a program that converts a string with approximately 100 words of your choosing into text similar to shown above. Be sure you write a function to convert each word individually.
Note
Multi-line strings can be stored in Python by using a backslash at the end of each line, as this example shows:
s = "Ber: Who's there? \
Fran: Nay, answer me. Stand and unfold yourself. \
Ber: Long live the King! \
Fran: Bernardo? \
Ber: He. \
Fran: You come most carefully upon your hour. \
Ber: 'Tis now struck twelve. Get thee to bed, Francisco. \
Fran: For this relief much thanks. 'Tis bitter cold, \
And I am sick at heart. \
Ber: Have you had quiet guard? \
Fran: Not a mouse stirring. \
Ber: Well, good night. \
If you do meet Horatio and Marcellus, \
The rivals of my watch, bid them make haste."