let\'s say I have a list
a = [1,2,3]
I\'d like to increment every item of that list in place. I want to do something as syntactically easy
Instead of your map-based solution, here's a list-comprehension-based solution
map
a = [item + 1 for item in a]