python question

Discussion in 'General Computer Support' started by ciicii, Oct 28, 2009.

  1. ciicii

    ciicii

    Joined:
    Oct 28, 2009
    Messages:
    1
    hey guys...

    I have a question about a code in python. If a code is written like this:
    HTML:
    choice = True
    while choice:
            play = raw_input('choose position : ')
            if play.lower() in ['quit','exit','close','end']:
                choice = Run = False   
    what does that mean? I don't understand the play.lower() part. I've been trying to google it but....


    thanks
     
    Last edited: Oct 28, 2009
    ciicii, Oct 28, 2009
    #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. =?iso-8859-1?Q?Frisbee=AE?=

    OT: Which Monty Python Character Are You?

    =?iso-8859-1?Q?Frisbee=AE?=, May 24, 2004, in forum: MCSE
    Replies:
    9
    Views:
    622
  2. =?Utf-8?B?U2FuZHdvcm0=?=

    Name that Python!!!! Yes, you too could win!!!

    =?Utf-8?B?U2FuZHdvcm0=?=, Jun 9, 2004, in forum: MCSE
    Replies:
    16
    Views:
    597
    =?Utf-8?B?U2FuZHdvcm0=?=
    Jun 10, 2004
  3. English Teacher

    GOOD BOOK for PYTHON/Linux

    English Teacher, Oct 21, 2003, in forum: Digital Photography
    Replies:
    1
    Views:
    525
    Mark Herring
    Oct 21, 2003
  4. Karma

    python card reader won't work in WXP

    Karma, Dec 30, 2003, in forum: Digital Photography
    Replies:
    1
    Views:
    1,242
    Chris P in PA
    Dec 30, 2003
  5. partyin
    Replies:
    0
    Views:
    1,184
    partyin
    Feb 21, 2012
Loading...

Share This Page