print()
will not show apostrophe.So if doing this will see nothing,but it still working as left space is gone.
favorite_language = ' python ' favorite_language = favorite_language.lstrip() print(favorite_language)
Output:python
favorite_language = ' python ' favorite_language = favorite_language.lstrip() print(favorite_language) # Using repr will see all,same as see in interactive interpreter print(repr(favorite_language))
Output:python
'python '
alok Wrote:Other question, what do you recommend instead of using Sublime text?I like VS Code(Free) unlike Sublime text(have to pay to get all features),have a tutorial here.