def rstrip(s, chars=None):
return s.rstrip(chars)<EOL>
rstrip(s [,chars]) -> string

    Return a copy of the string s with trailing whitespace removed.
    If chars is given and not None, remove characters in chars instead.