Qus : What does the strip() method do in Python?
Qusपायथन में स्ट्रिप() विधि क्या करती है?
A. Removes all spaces from the string. B. Removes the first and last character of the string.
C. Removes whitespace from the beginning and end of the string. D. Converts the string into a list of characters.
Solution
C. Removes whitespace from the beginning and end of the string.