Python string isalpha method
alphabetic characters
string.isalpha()
checks whether
the string consists of alphabetic characters.
S = 'spam'
S.isalpha( ) # Content tests: isalpha, isdigit, etc.
string.isalpha()
checks whether
the string consists of alphabetic characters.
S = 'spam'
S.isalpha( ) # Content tests: isalpha, isdigit, etc.