Answers for "how to know if the string is a number in python"

2

python check if string is number

txt = "565543"

x = txt.isnumeric()
Posted by: Guest on June-01-2021

Code answers related to "how to know if the string is a number in python"

Python Answers by Framework

Browse Popular Code Answers by Language