lstrip() remove the white space from the left portion of the string.Example:s=" program Hello"print(len(s))print(len(s.lstrip()))//output :
Example:
s=" program Hello"
print(len(s))
print(len(s.lstrip()))
//output :
16
14