Python中Strip()函数的用法

https://www.runoob.com/python/att-string-strip.html

语法:str.strip([chars])
作用:去除首尾的字符

在这里插入图片描述