python 去掉字串所有空格的方法:1、使用strip方法去除字串開頭或者結尾的 ... replace主要用於字串的替換replace(old, new, count) >>> a = " a b c ...
確定! 回上一頁