Welcome to your Python Basic Quiz #6 - String Manipulation Level #2
The questions in this Quiz are based on the below strings.
string1 = "Once upon a time a girl named Cinderella lived with her stepmother and two stepsisters"
string2 = "Cinderella"
1.
Which function can be used to convert first letter of all words in a sentence to upper case?
2.
In string1, we need to change the spaces between words to # symbols using split/join functions. Fill in the correct code below.
3.
We need to convert "string1" to a list of words using a built-in python function. Fill in the correct function below.
4.
Complete the below code to split string2 into separate sentences based on full stop.
5.
Which function is best suitable to remove $ symbols from below string?
string3 = "$$$woods$$$$$"