主页
Python
Python String isdigit() 方法
demo_ref_string_isdigit
运行 ❯
×
更改方向
保存代码
更改主题
txt = "50800" x = txt.isdigit() print(x)
True