string is digit python code example Example: isdigit python string.isdigit() how to remove a integer from a string