[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Quick question from newbie




Like has been said here before, use something like:

if i <= 9 and i >= 1:
...and python is cool enough that you can just write

if 1 <= i <= 9:

and it does the right thing.

--Mike