Skip to content

Instantly share code, notes, and snippets.

@gregorydickson
Last active November 15, 2017 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregorydickson/7fd8eb1740689b269e8f2e8739ddaca1 to your computer and use it in GitHub Desktop.
Save gregorydickson/7fd8eb1740689b269e8f2e8739ddaca1 to your computer and use it in GitHub Desktop.
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