string_strip.py 157 Bytes
Newer Older
xbe's avatar
xbe committed
1
2
3
4
5
6
print("".strip())
print(" \t\n\r\v\f".strip())
print(" T E S T".strip())
print("abcabc".strip("ce"))
print("aaa".strip("b"))
print("abc  efg ".strip("g a"))