Re: asking

Discussion in 'Python' started by Ian Foote, Aug 22, 2012.

  1. Ian Foote

    Ian Foote Guest

    Oops, hopefully this with indent correctly:

    def all_in(string, substrings):
    for substring in substrings:
    if substring not in string:
    return False
    return True
    Ian Foote, Aug 22, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ronald Colijn
    Replies:
    1
    Views:
    542
    Martin Eklund
    Nov 27, 2003
  2. walala
    Replies:
    2
    Views:
    1,069
    walala
    Sep 13, 2003
  3. J. Miller

    response redirect without asking

    J. Miller, Jul 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    413
    J. Miller
    Jul 9, 2003
  4. RDavid

    Almost beginner asking for info

    RDavid, Jan 28, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    305
    JiangZemin
    Jan 29, 2004
  5. Fabricio Sperandio

    Word is asking for the ASPNET user initials!!!

    Fabricio Sperandio, Feb 24, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    328
    Martin Dechev
    Feb 24, 2004
Loading...

Share This Page