字串(string) 型態(type) 的replace() 方法(method) ,將str 中的old 子字串 ... print(a) print(a.replace("mind", "hand")) print() print(b) print(b.replace(".
確定! 回上一頁