Skip to main content
1 of 4
PurkkaKoodari
  • 17.9k
  • 2
  • 35
  • 91

#Pyth, 22 bytes

ivMeSs.:RQ.n,L_MdCB.zT

If we are allowed to print leading zeroes, the code is 18 bytes:

eSs.:RQ.n,L_MdCB.z
PurkkaKoodari
  • 17.9k
  • 2
  • 35
  • 91