mirror of https://git.sr.ht/~garritfra/sabre
Garrit Franke
3 years ago
2 changed files with 14 additions and 4 deletions
@ -0,0 +1,10 @@ |
|||||||
|
fn main() { |
||||||
|
let arr = ["One", "Two", "Three"] |
||||||
|
for x in arr { |
||||||
|
println(x) |
||||||
|
} |
||||||
|
|
||||||
|
for fruit in ["Apple", "Strawberry", "Orange"] { |
||||||
|
println(fruit) |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue