mirror of https://git.sr.ht/~garritfra/sabre
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
178 B
10 lines
178 B
3 years ago
|
fn main() {
|
||
|
let arr = ["One", "Two", "Three"]
|
||
|
for x in arr {
|
||
|
println(x)
|
||
|
}
|
||
|
|
||
|
for fruit in ["Apple", "Strawberry", "Orange"] {
|
||
|
println(fruit)
|
||
|
}
|
||
|
}
|