Vidyalelo
Python · Q29

MCQs for Python Strings: Exam

Programming · Python · question 29

Q29

What is the purpose of the title() method for strings?

A.
Converts the first character of each word to uppercase
B.
Converts the string to lowercase
C.
Converts the string to uppercase
D.
Removes leading whitespace
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board