Welcome to your Python Basic Quiz #5 - String Manipulation Level #1
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"
From String1, to get the total number of occurances of character "e", the below code has been written. What will be the result?
From String2, we need to get the characters as given below. Which of the below code will not result the below expected result?
Expected Output: Cneel
Select all that apply.
From "string1", we need to extract the string "girl named Cinderella". Which of the below codes will not do return "girl named Cinderella"?