Ad
Fundamentals
Code
Diff
  • numberprint=lambda n: int(''.join(str(x) for x in (list(range(1, n+1)) + list(range(n-1, 0, -1)))))
    • numberprint = lambda n: int(''.join(str(x) for x in (list(range(1, n+1)) + list(range(n-1, 0, -1)))))
    • numberprint=lambda n: int(''.join(str(x) for x in (list(range(1, n+1)) + list(range(n-1, 0, -1)))))