use the isalpha() function on the chracter in question
xxxxxxxxxx
c = "a"
c1 = 4
# true
if c.isalpha():
print("c is an alphabet")
else:
print("c is not an alphabet")
# false
if c1.isalpha():
print("c1 is an alphabet")
else:
print("c1 is not an alphabet")
xxxxxxxxxx
str1 = "hello world. welcome to python examples."
bool = str1.isalpha()
print('str1 contains only alphabets:', bool)
//output will be False