RosettaCodeData/Task/Loops-Foreach/Nemerle/loops-foreach.nemerle
2023-07-01 13:44:08 -04:00

4 lines
146 B
Text

def things = ["Apple", "Banana", "Coconut"];
foreach (thing in things) WriteLine(thing.ToLower());
foreach (i in [5, 10 .. 100]) Write($"$i\t");