Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27602
| Date | 2012-08-22 05:17 +0100 |
|---|---|
| From | Ian Foote <ian@feete.org> |
| Subject | Re: asking |
| References | <CADYZVBA9i8Bd87CCPY2N7fz1MqrPB==BXh6GsN44RPHWcEGaug@mail.gmail.com> <5034553F.4080904@feete.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3627.1345609078.4697.python-list@python.org> (permalink) |
Oops, hopefully this with indent correctly:
def all_in(string, substrings):
for substring in substrings:
if substring not in string:
return False
return True
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: asking Ian Foote <ian@feete.org> - 2012-08-22 05:17 +0100
csiph-web