📜  python代码示例中的strip函数

📅  最后修改于: 2022-03-11 14:46:13.851000             🧑  作者: Mango

代码示例1
lol = '     lol   '
print(lol)
# normal output =      lol   
lol = '     lol    ' 
print(lol.strip)
# strip output = lol
# Cool right