python刪除字符串

刪除開頭或者結尾的字符:strip()方法python lstrip() 和rstrip()分別從左和從右執行刪除操做。默認會刪除空白字符linux $ python Python 3.5.2 (default, Sep 14 2017, 22:51:06) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or
相關文章
相關標籤/搜索