Nik Kantar

October 2017

2017 (1)

October (1)

Modifying a List in Place in Python
A neat (if questionably legible) trick for modifying a list in place in Python, and a more Pythonic solution for the same problem.