Direction: Choose the correct option
Q1.
How do you get the length of a string?
Direction: Choose the correct option
Q2.
What is the output of `'hello'.upper()`?
Direction: Choose the correct option
Q3.
How do you check if a string starts with a substring?
Direction: Choose the correct option
Q4.
What does `s.split()` do?
Direction: Choose the correct option
Q5.
What is the output of `'abc'.join(['1','2','3'])`?
Direction: Choose the correct option
Q6.
Which method removes whitespace from both ends?
Direction: Choose the correct option
Q7.
How do you replace all occurrences of 'a' with 'b'?
Direction: Choose the correct option
Q8.
What is the output of `'hello world'.find('world')`?
Direction: Choose the correct option
Q9.
What does `'123'.isdigit()` return?
