Skip to main content
2 of 8
added 2 characters in body
Karl Napf
  • 4.4k
  • 13
  • 31

Python 2, 78 bytes

def f(n):l=len(str(n));print"".join([str(x).zfill(l)for x in range(l,n+l,l)])
Karl Napf
  • 4.4k
  • 13
  • 31