如果找到则返回其索引,否则返回 -1 。 示例. 以下示例显示了 find() 方法的用法。 #!/usr/bin/python3 str1 = "this is string ...
確定! 回上一頁