python中str.isdigit()用法

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

原文地址:https://www.cnblogs.com/skyell/p/8886708.html