📜  python is float - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:07.410000             🧑  作者: Mango

代码示例4
try:
    float(element)
except ValueError:
    print "Not a float"