Skip to main content
3 of 3
deleted 11 characters in body
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372

Octave / MATLAB, 20 19 bytes

@(n)[~(1:n)+49 '0']

Try it online!

Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372