Python isdigit()

来源:互联网 发布:非appstore 软件 信任 编辑:程序博客网 时间:2024/05/16 06:08

isdigit() 是判断字符串是否只为数字组成,返回True or False

str.isdigit()

0 0
原创粉丝点击