string = "xoxo love xoxo"
print(string.strip("xoe")) # -> Without space befor x Output will be love
print(string.strip(" xoe")) # -> With space before x Output will be lov
Why when i put a space before the letter (x) in the example it removes the letter (e) from the word (love) and when i do not put the space it does not remove anything ? [1]: https://i.stack.imgur.com/ZHeUX.png