check if a character is numeric in python code example
Example 1: test if character is number python string
>>> 'A'.isdigit()
False
>>> '1'.isdigit()
True
Example 2: isdigit python
string.isdigit() how to remove a integer from a string
>>> 'A'.isdigit()
False
>>> '1'.isdigit()
True
string.isdigit() how to remove a integer from a string