👻 Check our latest review to choose the best laptop for Machine Learning engineers and Deep learning tasks!
How can I check if any of the strings in an array exists in another string?
a = ["a", "b", "c"] str = "a123" if a in str: print "some of the strings found in str" else: print "no strings found in str"
That code doesn"t work, it"s just to show what I want to achieve.
👻 Read also: what is the best laptop for engineering students?