📜  python string isdecimal - Python 代码示例

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

代码示例1
decimals = '12 12 12 321'

print(decimals.isdecimal())

OUTPUT = True