Report Bug

Quslstrip() method is used for : 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 characters



Explanation

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.

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad