isdigit
isalpha
isalnum
Returns True if all characters are alphabetic.
str.isalpha()
Enter values below to update the example in real time.
print
print("hello".isalpha()) # True print("hello1".isalpha()) # False