function to check if a character is number in python code example Example: isdigit python string.isdigit() how to remove a integer from a string