Rstrip

Python trim string

Trim string in python from left, right and both side. using Python strip(), Python lstrip(), and Python rstrip(). Remove all whitespace from leading and trailing tutorial