isdigit isalpha and isalnum String Functions in Python