In this exercise, I want you to do the following:
- Create a string with an object name of your choice that reads as follows: “Hello, my name is Tom and I enjoy hanging out with Pandas.”
- Replace the comma with nothing. Make this into a new object and print it off.
- Split the entire string into a list of words and make that into a new object. Then, print it off.
- Create a new object in which you make the entire original string lowercase. Print that off.
- Create a new object in which you make the entire original string uppercase. Print that off.
- Finally, find out how many times the letter “a” appears in the string.
If you get stuck in this exercise, feel free to look at the Lesson 03: Cheat Sheet. If you have managed to do this exercise without issue, take the Lesson 03: Quiz!