Skip to content

Instantly share code, notes, and snippets.

@david50407
Created October 28, 2014 14:22
Show Gist options
  • Save david50407/f4ebd06e7b1b420459a7 to your computer and use it in GitHub Desktop.
Save david50407/f4ebd06e7b1b420459a7 to your computer and use it in GitHub Desktop.
def det(row1, row2):
return row1[0] * row2[1] - row1[1] * row2[0]
l4d2 = [[1, 2], [3, 4]]
det(*l4d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment