Created
October 28, 2014 14:22
-
-
Save david50407/f4ebd06e7b1b420459a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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