Created
September 18, 2019 11:03
-
-
Save molarmanful/6a592d22ed834e6a32c6d2ac3abec6b6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 mget(r, c): | |
return matrix[r * cols + c] | |
mget(2, 1) # => 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment