Mode:
Duration:
1
2
3
let arr = @[1,2,3,4,5]
for x in arr:
if x mod 2 == 0: echo xCoding works best on desktop or with an external keyboard.
let arr = @[1,2,3,4,5]
for x in arr:
if x mod 2 == 0: echo xCoding works best on desktop or with an external keyboard.
Prints even numbers from an array.
let arr = @[1,2,3,4,5]
for x in arr:
if x mod 2 == 0: echo xNim is a statically typed, compiled systems programming language with Python-like syntax. It emphasizes performance, expressiveness, and metaprogramming, making it suitable for system tools, web development, and scientific computing.
Origin & Creator
Created in 2008 by Andreas Rumpf.
Industrial Note
Nim is used in high-performance tools, embedded systems, game development, and niche web frameworks where low-level control and speed are essential.