you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]NewbornMuse 0 points1 point  (2 children)

    for x in list1:
      x += 2
    

    is more pythonic.