Python Vérifiez si le caractère est une lettre
>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
Disturbed Dragonfly
>>> 'A'.isalpha()
True
>>> '1'.isalpha()
False
str = "abc"
print(str.isalpha())
The isalpha() method returns True if all the characters are alphabet letters (a-z).