-
-
Save gregorydickson/7fd8eb1740689b269e8f2e8739ddaca1 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
List matrix = [] | |
10.times { i -> | |
List array = [] | |
10.times { j -> | |
array << j | |
} | |
matrix << array | |
} | |
println matrix.toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment