Isalpha() method in Python String Module
Isalpha method returns the output as true only if the string contains alphabets. If the string has any special characters or numbers it gives the output as FALSE.
Syntax:
str.isalpha()
Example-1:
txt = "Central"
x = txt.isalpha()
print(x)
Output:

Example-2:
text = "Morocco10"
x = text.isalpha()
print(x)
Output:
