Last active
September 23, 2019 11:13
-
-
Save molarmanful/ceab3997baa9854ef61ea2ce2f1d5027 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
diag = [y for x, y in enumerate(matrix) if (x + 1) ** .5 == int((x + 1) ** .5)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment