Quick actions

cmd+k|ctrl+k

Navigation

Languages

output matrix

Snippet info

Language

Groovy

Visibility

public

Author

orochi-100

Created

2021-10-11T10:55:08.029209Z

Updated

2021-10-11T10:55:08.029209Z

def matrix = [
    [ 7, 8, 9 ],
    [ 4, 5, 6 ],
    [ 1, 2, 3 ]
]

for (row in matrix) println(row)
INFO