I'm reading the python crash course book. The author talks about stripping whitespace, and how to eliminate them in strings:
He gives an example like this:
favorite_language='python '
print(favorite_language.rstrip())
-- 'python'
You can see the the whitespace is gone. Whenever I try it in sublime it gives me the first string ('python '
) with extra whitespace.