for v in l:

Gert Cuykens gert.cuykens at gmail.com
Mon Jan 15 19:48:05 EST 2007


is there a other way then this to loop trough a list and change the values

        i=-1
        for v in l:
                i=i+1
                l[i]=v+x

something like

        for v in l:
                l[v]=l[v]+x



More information about the Python-list mailing list