描述Python isdigit() 方法检测字符串是否只由数字组成。 ## 语法isdigit()方法语法: ```py str.isdigit() ``` ## 参数无。 ## 返回值如果字符串只包含数字则返回True ...
確定! 回上一頁