RosettaCodeData/Task/Array-length/Nim/array-length.nim

3 lines
85 B
Nim

let fruit = ["apple", "orange"]
echo "The length of the fruit array is ", len(fruit)