str1 = "hello world. welcome to python examples." bool = str1.isalpha() print('str1 contains only alphabets:', bool) //output will be False
import re print(re.search('[a-zA-Z]', "anything"))