Python check if string contains substring from list

Python check if string contains substring from list

More to explore

Based on this image's title: “Python check if string contains substring from list