Python 字符串对象的**isdigit()** 方法用于检测字符串是否只由数字组成## 语法```python str.isdigit() ``` ## 参数无## 返回值如果字符串只包含数字则返回True 否则 ...
確定! 回上一頁