Shakespeare: Difference between revisions

imported>Zanwenhuahao
imported>Zanwenhuahao
Line 179:
 
====Extended Exercises====
<b>Exercise 1:</b>
* Give yourself a word that you see in a play. Try to output the entire dialogue spoken by the person that first contained the word.
* i.e. if your word is "fantastical" and you are looking at the play "Twelfth Night", you should output:
Line 203:
* Note that each person's speech is opened with their name in angular brackets and ends with </...>, as similar to HTML tags.
 
<b>Exercise 2:</b>
* Animals are often used as condescending terms to address someone in Shakespeare's plays.
* Using the list of animals given in the file "listAnimal.txt" can you find (in a play or in many plays) which play and who spoke of something as what animal?
 
<b>Exercise 3:</b>
* In modern English, we owe many words to William Shakespeare, who alone invented over 2000 words in the English literature.
* The file "popularWords.txt" lists some popular words that we still use today that were invented by Shakespeare (bet you didn't know that!). Each word originates from at least one of his plays. Can you find the plays where each word originated?
Anonymous user