Skip to content

Instantly share code, notes, and snippets.

@arnol229
Forked from robrocker7/gist:6176875
Created August 7, 2013 18:32
Show Gist options
  • Save arnol229/6177024 to your computer and use it in GitHub Desktop.
Save arnol229/6177024 to your computer and use it in GitHub Desktop.
for coord in a:
xy1, xy2 = coord
if xy1 == spot[0] or xy1 == spot[1] or xy2 == spot[0] or xy2 == spot[1]:
a.pop(a.index(coord)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment