python built in function to check whether a string contains alphabet code example
Example: check if string contains alphabets python
import re
print(re.search('[a-zA-Z]', "anything"))
import re
print(re.search('[a-zA-Z]', "anything"))