字串(string) 型態(type) 的strip() 方法(method) ,從str 中移除chars 字元,預設為 ... print(c) print(c.strip("aeiou")) print() print(d) print(d.strip("T")) ...
確定! 回上一頁