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.





















Home »
  Python »
    Data Types »




Data Types
String
String Format
Tuple
List
Set
Dictionary