strip、lstrip、rstrip

strip([char])去掉开头和结尾的字符,默认为空格或换行

posted @ 2020-08-01 21:33  6+0  阅读(151)  评论(0编辑  收藏  举报