Re: Changing a Value in List of lists

Discussion in 'Python' started by Mark Lawrence, Sep 2, 2012.

  1. On 02/09/2012 12:05, Rishabh Dixit wrote:
    > Hi,
    >
    > I got it :). We should create a new list every time before adding to a list
    > of list so that instead repeating the reference a new reference generated
    > every time.
    >


    Please don't top post on this list as it often destroys the context, thanks.

    --
    Cheers.

    Mark Lawrence.
    Mark Lawrence, Sep 2, 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. =?UTF-8?B?w4FuZ2VsIEd1dGnDqXJyZXogUm9kcsOtZ3Vleg==

    List of lists of lists of lists...

    =?UTF-8?B?w4FuZ2VsIEd1dGnDqXJyZXogUm9kcsOtZ3Vleg==, May 8, 2006, in forum: Python
    Replies:
    5
    Views:
    388
    =?UTF-8?B?w4FuZ2VsIEd1dGnDqXJyZXogUm9kcsOtZ3Vleg==
    May 15, 2006
  2. yomgui

    list of lists of lists ....

    yomgui, Jul 28, 2006, in forum: Python
    Replies:
    6
    Views:
    301
    yomgui
    Jul 31, 2006
  3. Lynn
    Replies:
    5
    Views:
    138
    Anno Siegel
    Sep 12, 2005
  4. Chris Angelico

    Re: Changing a Value in List of lists

    Chris Angelico, Sep 2, 2012, in forum: Python
    Replies:
    0
    Views:
    216
    Chris Angelico
    Sep 2, 2012
  5. Terry Reedy

    Re: Changing a Value in List of lists

    Terry Reedy, Sep 2, 2012, in forum: Python
    Replies:
    2
    Views:
    188
    Rishabh Dixit
    Sep 3, 2012
Loading...

Share This Page