15 lines
185 B
Plaintext
15 lines
185 B
Plaintext
|
let arr = [1,2,3,4]
|
||
|
for a in arr {
|
||
|
for b in [10,20] {
|
||
|
print(a)
|
||
|
print(b)
|
||
|
}
|
||
|
if a == 3 {
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
//print(a)
|
||
|
|
||
|
for i in range(0,5) {
|
||
|
print(i)
|
||
|
}
|