python中str.isdigit()用法

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

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