Python string lstrip() method
Python String lstrip() Method Description Following is the syntax of the lstrip() method – Syntax var.lstrip([chars]) Parameters chars – You can specify the characters to be stripped. Return Value This method returns a copy of the string with all characters…