So überprüfen Sie, ob eine Zeichenfolge nur aus Alphabeten in Python besteht

str1 = "hello world. welcome to python examples."

bool = str1.isalpha()

print('str1 contains only alphabets:', bool)
//output will be False
Hurt Hoopoe