Die Python -Liste enthält Substring
str_list = ["one", "two", "three"]
substr = "wo"
if any(substr in str for str in str_list):
print('Yes!')
ARtemachka
str_list = ["one", "two", "three"]
substr = "wo"
if any(substr in str for str in str_list):
print('Yes!')
str in strList
# example
if 'qwe' in strList:
print('Yes!')