rsc05
0
Q:

function to find multiple substring in given string

matches = ["more", "wholesome", "milk"]
a_string = "A string is more than its parts! milk, wholesome"
if any(x not in a_string for x in matches):
   print "missing"
0

New to Communities?

Join the community