Question: E21. Visit the official documentation for Python string methods and find a method that will capitalize every word in a string. (Hint: it's not capitalize!

 E21. Visit the official documentation for Python string methods and find

E21. Visit the official documentation for Python string methods and find a method that will capitalize every word in a string. (Hint: it's not capitalize! Use it to display the string below in "title case". Do not simply modify the contents of the string below. [] country - 'united states of america' E22. Write an expression to test whether the word 'the' is present in the string named country. [] E23. Use the replace method to replace all occurrences of the lowercase letter e in country, but do not change the original string stored in country. [] E24. Use the count method to count and display the number of lowercase letter e characters in country. []

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!