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