以下实例展示了isdigit()方法的实例:. #!/usr/bin/python str = "123456"; # Only digit in this string print str.isdigit(); str = "this ...
確定! 回上一頁