Quslstrip () फंक्शन का उपयोग इसके लिए किया जाता है:
A. delete all the trailing whitespace characters
B. delete all the leading whitespace characters
C. delete all the leading and trailing whitespace characters
D. delete upper case characters
Solution
B. delete all the leading whitespace charactersExplanation
The lstrip() method in Python is used to remove leading (leftmost) whitespace characters from a string. Whitespace characters include spaces, tabs, and newline characters. This method does not modify the original string but returns a new string with the leading whitespace removed.