4 ms·
This is probably a Python 3 program. The list() wrapped around range() makes a list out of an iterator -- range() now returns an iterator in Py 3. See http://di
by cookiecaper 16y ago
This is probably a Python 3 program. The list() wrapped around range() makes a list out of an iterator -- range() now returns an iterator in Py 3. See http://diveintopython3.org/porting-code-to-python-3-with-2to3.html#xrange http://diveintopython3.org/porting-code-to-python-3-with-2to...