python中str.isdigit()用法

str.isdigit()中只包含数字返回true,包含其它则返回false

posted @ 2018-04-19 22:39  王马扎  阅读(1825)  评论(0)    收藏  举报