string method to check number python code example
Example: python check if number
if type(variable) == int or type(variable) == float:
isNumber = True
if type(variable) == int or type(variable) == float:
isNumber = True