how to check a string is signed number in python code example
Example 1: python check if number
if type(variable) == int or type(variable) == float:
isNumber = True
Example 2: test if character is number python string
>>> 'A'.isdigit()
False
>>> '1'.isdigit()
True