Guys, I found a better solution to my problem. Thanks a lot for the help. Loving to learn Nim.
var k: array[10, int] for i in 0 .. 9: if i mod 2 == 0: continue k[i] = (i + 1) * 10 echo k[i]
Guys, I found a better solution to my problem. Thanks a lot for the help. Loving to learn Nim.
var k: array[10, int] for i in 0 .. 9: if i mod 2 == 0: continue k[i] = (i + 1) * 10 echo k[i]