Vidyalelo
Python · Q27

MCQs for Python Strings: Exam

Programming · Python · question 27

Q27

Which method is used to remove leading and trailing whitespace from a string?

A.
strip()
B.
trim()
C.
whitespace()
Answer
D.
clean()

Answer: Option C

Solution

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