也就这样， - python杂记2 的评论
type: channel
link: https://www.type.so/python/python-tips-1.html
description: 判断是否为数字isdigit()的话，里面不能有小数点。def is_number(s): try: n=str(float(s)) if n == "n...