By default rstrip() will remove space from right of the string, we can also specify chars to be removed
my_str='Plus2net '
output=my_str.rstrip()
print(output)
my_str='plus2net**'
output=my_str.rstrip('*')
print(output) # removes * from right
my_str='plus2net *#*#'
output=my_str.rstrip('*#')
print(output) # removes all right