python s isalpha code example
Example 1: what does isalpha do in python
The isalpha() method returns True if all the characters are alphabet letters (a-z).
Example 2: isalpha function in python
string.isalpha()
Parameters:
isalpha() does not take any parameters
Returns :
1.True- If all characters in the string are alphabet.
2.False- If the string contains 1 or more non-alphabets.