trim a string in python that only contains characters code example
Example: python trim certain characters from string
string = ' xoxo love xoxo '
# Leading and trailing whitespaces are removed
print(string.strip())
# All ,x,o,e characters in the left
# and right of string are removed
print(string.strip(' xoe'))
#