Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Loops-Nested/Sidef/loops-nested.sidef
Normal file
11
Task/Loops-Nested/Sidef/loops-nested.sidef
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
var arr = 10.of{ 10.of{ 20.irand + 1 } }
|
||||
|
||||
for row in arr {
|
||||
for num in row {
|
||||
"%3d".printf(num);
|
||||
num == 20 && goto :OUT
|
||||
}
|
||||
print "\n"
|
||||
} @:OUT
|
||||
|
||||
print "\n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue