Question: # 3. Create a new string that replaces all single spaces with double spaces (replace # method). Print the new string. # # 5. Create
# 3. Create a new string that replaces all single spaces with double spaces (replace # method). Print the new string. # # 5. Create a new string that capitalizes only letters with an odd index # (e.g., HElLo aNd wElCoMe tO IS 352, InTrOdUcTiOn tO PYtHoN PrOgRaMmInG). Print both strings # (upper method). # # 6. Create a new string that has the vowels removed. Print the new string. # # 7. Break the string in half and print both halves of the string (you must calculate the midpoint). # # 8. Find the comma and copy the content before and after the comma to two new strings (find method). # Print both strings. 9. Split the string into a list of words (split method). Then print each word in # the list. 10. Using the list of words from exercise 9, report the length of each word (len function). # # Extra Credit # 11. Parse the string From: Jake Londonto retrieve only the email addres
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
