Run
str1 = "hello world. welcome to python examples." bool = str1.isalpha() print('str1 contains only alphabets:', bool)
Output