Top3101200 top3200plus

This preview shows page 3 - 5 out of 6 pages.

top3_101_200 = topthree(hundredtwohundred_citycounts) top3_200plus = topthree(twohundredplus_citycounts) TopCities = {'Price 0-50':top3_0_50, 'Price 51-100':top3_51_100, 'Price 101-200':top3_101_200,'Price 201-10000':top3_200plus} #problem7_Hamlet Sentence Generator """ 006 e0 创建一个 LIST OF LIST ,每一个 LIST 都对应 STRING 中的某一句 """ #Sentences end with '.', '?', and '!'. #You should convert all letters to lowercase. #For each word, strip out any punctuation. hamsplits[0] == ['and', 'can', 'you', 'by', ..., 'dangerous', 'lunacy'] hamsplits[-1] == ['madness', 'in', 'great', ..., 'not', 'unwatchd', 'go'] hamlet_text = """ And can you by no drift of circumstance Get from him why he puts on this confusion Grating so harshly all his days of quiet With turbulent and dangerous lunacy? He does confess he feels himself distracted. But from what cause he will by no means speak. Nor do we find him forward to be sounded But with a crafty madness keeps aloof When we would bring him on to some confession Of his true state. Did he receive you well? Most like a gentleman. But with much forcing of his disposition. Niggard of question. but of our demands Most free in his reply. Did you assay him? To any pastime? Madam it so fell out that certain players We o'er-raught on the way. of these we told him. And there did seem in him a kind of joy To hear of it. they are about the court And as I think they have already order This night to play before him. 'Tis most true. And he beseech'd me to entreat your majesties To hear and see the matter. With all my heart. and it doth much content me To hear him so inclined. Good gentlemen give him a further edge And drive his purpose on to these delights. We shall my lord. Sweet Gertrude leave us too. For we have closely sent for Hamlet hither That he as 'twere by accident may here Affront Ophelia. Her father and myself lawful espials Will so bestow ourselves that seeing unseen We may of their encounter frankly judge And gather by him as he is behaved If 't be the affliction of his love or no That thus he suffers for. I shall obey you. And for your part Ophelia I do wish That your good beauties be the happy cause Of Hamlet's wildness. so shall I hope your virtues Will bring him to his wonted way again To both your honours. Madam I wish it may. Ophelia walk you here. Gracious so please you We will bestow ourselves. Read on this book. That show of such an exercise may colour Your loneliness. We are oft to blame in this 'Tis too much proved that with devotion's visage And pious action we do sugar o'er The devil himself. O 'tis too true! How smart a lash that speech doth give my conscience! The harlot's cheek beautied with plastering art Is not more ugly to the thing that helps it Than is my deed to my most painted word. O heavy burthen! I hear him coming. let's withdraw my lord. To be or not to be. that is the question. Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous
Image of page 3
fortune Or to take arms against a sea of troubles And by opposing end them? To die. to sleep. No more. and by a sleep to say we end The heart-ache and the thousand natural shocks That flesh is heir to 'tis a consummation Devoutly to be wish'd. To die to sleep. To sleep. perchance to dream. ay there's the rub. For in that sleep of death what dreams may come When we have shuffled off this mortal coil Must give us pause. there's the
Image of page 4
Image of page 5

You've reached the end of your free preview.

Want to read all 6 pages?

  • Fall '19
  • susan lee

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes