如果可選參數max給定,只有第一個匹配項取代。 示例. 下面的示例顯示replace()方法的使用說明。 #!/usr/bin/python3 str = "this is string example ...
確定! 回上一頁