Remove Leading Whitespace From A Python String With .lstrip()
Calling [TODO: Code shorthand span ] on a python string trims any leading whitespace (including newlines), while leaving any trailing whitespace untouched. For example :
python
=
=