Skip to main content
1 of 3
Wheat Wizard
  • 100k
  • 22
  • 282
  • 661

#Python, 44 bytes

for x in range(11):print bin(x)[2:].zfill(4)

This uses the zfill function which works like rjust except it always padds with 0 so you don't waste bytes on an argument.

Wheat Wizard
  • 100k
  • 22
  • 282
  • 661