RosettaCodeData/Task/Loops-Nested/Mathematica/loops-nested.math

5 lines
118 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Do[ Print[m[[i, j]]];
If[m[[i, j]] === 20, Return[]],
{i, 1, Dimensions[m][[1]]},
{j, 1, Dimensions[m][[2]]}]