jak zkontrolovat, zda řetězec je složen pouze z abecedy v pythonu
str1 = "hello world. welcome to python examples."
bool = str1.isalpha()
print('str1 contains only alphabets:', bool)
//output will be False
zkontrolujte, zda řetězec obsahuje abecedy python
import re
print(re.search('[a-zA-Z]', "anything"))