Question: Step 1 : Execute the following statement ( copy and paste into the WingIDE Python Shell ) then press enter. textStr = ' ' '
Step :
Execute the following statement copy and paste into the WingIDE Python Shell then press enter.
textStr Between ten and eleven oclock that morning two messengers were sent in
a taxicab from the East River National Bank, at Broadway and Third
street, to draw $ in currency from the Produce Exchange National
Bank, at Broadway and Beaver street, in the downtown financial district,
and bring it uptown. This transfer of money had been made several times
a week for so long a period without danger or loss that the messengers
were unarmed. One of them, Wilbur F Smith, was an old man who had been
in the service of the bank thirtyfive years, and the other was a mere
boy, named Wardle, seventeen years old. The taxicab man, an Italian
named Geno Montani, seemed almost a trusted employee, too, for he
operated two cabs from a stand near the bank, and was frequently called
upon for such trips.
Step :
Using the Python shell within WingIDE determine the following characteristics that are associated with variable textStr:
What is the type of the variableobject is textStr?
What is the length of the textStr?
Create a list of wordsFound in textStr. hint: use the method split
Sort the wordsFound list.
How many individual words ie strings were created?
How many words in the wordsFound list are in Title case? hint: use the method istitle
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
