Identify the first occurrence of the substring starting with the substring “the” and ending with the substring “end” in your string. Identify all three lett

Randomly select one of the “35 Greatest Speeches in History”  using the following snippet of Python code

import random
print

Next, copy-and-paste the entire section from the website  and use it as your text string for the following regular expression exercises. Turn in your regular expression Python code solutions in a single Jupyter notebook.
Determine if the letter “q”  is in your string.
Determine if the substring “peace”  is in your string.
Determine if the word “peace” or “Peace” is in your string.
Determine which numeric digits (0-9) are in your string at least once.
Identify the first occurrence of the substring starting with the substring “the” and ending with the substring “end” in your string.
Identify all three letter lowercase words in your string.
Identify all words that start with a vowel in your string.
Identify the title of the speech in your string.
Identify the date and location of the speech in your string.
Replace all occurrences of the word “the” with the word “THE”.

 

GET HELP WITH YOUR HOMEWORK PAPERS @ 25% OFF

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

Write My Paper Button

WeCreativez WhatsApp Support
We are here to answer your questions. Ask us anything!
👋 Hi, how can I help?
Scroll to Top