Go to https://www.gutenberg.org and find any book of your choice. Select the option "Plain Text UTF-8" , to open the book in the browser. An example: https://www.gutenberg.org/ebooks/244 Copy a few...




  1. Go to https://www.gutenberg.org and find any book of your choice. Select the option"Plain Text UTF-8", to open the book in the browser. An example: https://www.gutenberg.org/ebooks/244




  2. Copy a few lines or short paragraph from the book of your choice and store it in a variable.




  3. Using the string methods and loop, print the following:


    a. The length of the string


    b. Number of uppercase letters in the entire string


    c. Number of lowercase letters in the entire string


    d. Number of digits (if any)


    e. Number of spaces


    **** SCRIPT FROM BOOK***



Snow and ice on that mountain. Nothing but snow. The wind drove it with a howl against the windows, where it stuck on the warm panes. Sometimes I could just make out the blur of the semaphore lights and sometimes I couldn’t. All day the blizzard had dumped its swirling load about us, and now, when night closed down, the storm took the tower in its teeth, shaking it like you’ve seen a dog shake a rat.



Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here