python isalpha function code example
Example 1: isaplha in python
str = "abc"
print(str.isalpha())
Example 2: what does isalpha do in python
The isalpha() method returns True if all the characters are alphabet letters (a-z).
str = "abc"
print(str.isalpha())
The isalpha() method returns True if all the characters are alphabet letters (a-z).