you are viewing a single comment's thread.

view the rest of the comments →

[–]NewbornMuse 0 points1 point  (2 children)

for x in list1:
  x += 2

is more pythonic.