Re: a couple of things I don't understand wrt lists

Discussion in 'Python' started by Ethan Furman, Apr 16, 2013.

  1. Ethan Furman

    Ethan Furman Guest

    On 04/16/2013 08:37 AM, aaB wrote:
    > rule = getrule(int(8))


    just rule = getrule(8) is sufficient -- you don't need to cast the integer 8 to an integer. ;)


    > Thanks, and sorry for the rather long post.


    Not too long at all: it had lots of detail of what you were trying to do, what you were expecting, and what you got; it
    was darn near perfect.

    --
    ~Ethan~
    Ethan Furman, Apr 16, 2013
    #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. Daniel Nogradi
    Replies:
    3
    Views:
    349
    Dennis Lee Bieber
    Nov 10, 2006
  2. aaB
    Replies:
    7
    Views:
    157
    Steven D'Aprano
    Apr 17, 2013
  3. Chris Angelico
    Replies:
    0
    Views:
    109
    Chris Angelico
    Apr 16, 2013
  4. Terry Jan Reedy
    Replies:
    0
    Views:
    118
    Terry Jan Reedy
    Apr 16, 2013
  5. Dave Angel
    Replies:
    0
    Views:
    111
    Dave Angel
    Apr 16, 2013
Loading...

Share This Page