关于 strip function
In [1]: string = ' xoxo love xoxo '
...
... # Leading whitepsace are removed
... print(string.strip())
...
... print(string.strip(' xoxoe'))
xoxo love xoxo
lov
In [2]: print(string.strip('xoxoe'))
xoxo love xoxo
In [3]: print(string.strip(' xoxoel'))
v
大神求教,请问为啥print(string.strip(' xoxoe')) 就得出了lov?