# For alphabet >>> 'A'.isdigit() False >>> 'A'.isalpha() True # For digit >>> '1'.isdigit() True >>> '1'.isalpha() False