返回移除字符串頭尾指定的字符生成的新字符串。 實例. 以下實例展示了strip()函數的使用方法: #!/usr/bin/python str = "0000000this is string example.
確定! 回上一頁