asking

Ian Foote ian at feete.org
Wed Aug 22 06:17:46 CEST 2012


Oops, hopefully this with indent correctly:

def all_in(string, substrings):
     for substring in substrings:
         if substring not in string:
             return False
     return True


More information about the Python-list mailing list