import strformat for n in 0..15: echo fmt"{n:b}"