Python isdigit () 方法检测字符串是否只由数字组成。 ... #!/usr/bin/python str = "123456"; # Only digit in this string print str.isdigit(); str = "this is ...
確定! 回上一頁