trim whitespace (including tabs) in `s` on the right side,s = s.rstrip()