Paul Rubin <[email protected]> writes: > new_list = chain( ((x,y-1), (x,y+1)) for x,y in coord_list )
Sorry: new_list = list(chain( ((x,y-1), (x,y+1)) for x,y in coord_list)) -- http://mail.python.org/mailman/listinfo/python-list
Paul Rubin <[email protected]> writes: > new_list = chain( ((x,y-1), (x,y+1)) for x,y in coord_list )
Sorry: new_list = list(chain( ((x,y-1), (x,y+1)) for x,y in coord_list)) -- http://mail.python.org/mailman/listinfo/python-list