8 Detailed explanation added
source | link

Python 2, 57 59 57 56 55 bytes

i=8;exec"print(' '*abs(i)).join('1234567890');i-=1;"*17

Try it online!

@Leaky Nun helped golfing this a lot, @Praind Suggested a method to save 1 byte, which I formerly thought of, but forgot to edit, @CotyJohnathanSaxman suggested changing the loop.


Explanation

  • i=8 - Assigns the value 8 to a variable called i.

  • exec"..."*17 - Execute that block of code (...) 17 times.

  • print(...) - Output the result.

  • ' '*abs(i) - Create a String with a space repeated |i| times.

  • .join('1234567890') - Interleave the string created above with 1234567890, such that |i| spaces are inserted between the digits.

  • i-=1 - Decrement i, and by executing it 17 times, it reaches -8, which creates te repetitive pattern with the help of abs().

Python 2, 57 56 55 bytes

i=8;exec"print(' '*abs(i)).join('1234567890');i-=1;"*17

Try it online!

@Leaky Nun helped golfing this a lot, @Praind Suggested a method to save 1 byte, which I formerly thought of, but forgot to edit, @CotyJohnathanSaxman suggested changing the loop.

Python 2, 59 57 56 55 bytes

i=8;exec"print(' '*abs(i)).join('1234567890');i-=1;"*17

Try it online!

@Leaky Nun helped golfing this a lot, @Praind Suggested a method to save 1 byte, which I formerly thought of, but forgot to edit, @CotyJohnathanSaxman suggested changing the loop.


Explanation

  • i=8 - Assigns the value 8 to a variable called i.

  • exec"..."*17 - Execute that block of code (...) 17 times.

  • print(...) - Output the result.

  • ' '*abs(i) - Create a String with a space repeated |i| times.

  • .join('1234567890') - Interleave the string created above with 1234567890, such that |i| spaces are inserted between the digits.

  • i-=1 - Decrement i, and by executing it 17 times, it reaches -8, which creates te repetitive pattern with the help of abs().

7 added 93 characters in body
source | link

Python 2, 57 56 5655 bytes

@Leaky Nun helped golfing this a lot.

@CotyJohnathanSaxman suggested changing the loop.

i=-8;exec"printi=8;exec"print(' '*abs(i)).join('1234567890');i+=1;"*17;i-=1;"*17

Try it online!Try it online!

@Leaky Nun helped golfing this a lot, @Praind Suggested a method to save 1 byte, which I formerly thought of, but forgot to edit, @CotyJohnathanSaxman suggested changing the loop.

Python 2, 57 56 bytes

@Leaky Nun helped golfing this a lot.

@CotyJohnathanSaxman suggested changing the loop.

i=-8;exec"print(' '*abs(i)).join('1234567890');i+=1;"*17

Try it online!

Python 2, 57 56 55 bytes

i=8;exec"print(' '*abs(i)).join('1234567890');i-=1;"*17

Try it online!

@Leaky Nun helped golfing this a lot, @Praind Suggested a method to save 1 byte, which I formerly thought of, but forgot to edit, @CotyJohnathanSaxman suggested changing the loop.

6 added 10 characters in body
source | link

Python 2, 5757 56 bytes

@Leaky Nun helped golfing this a lot.

@CotyJohnathanSaxman suggested changing the loop.

i=-8;exec"print(' '*abs(i)).join('1234567890');i+=1;"*17

Try it online!

Python 2, 57 bytes

@Leaky Nun helped golfing this a lot.

@CotyJohnathanSaxman suggested changing the loop.

i=-8;exec"print(' '*abs(i)).join('1234567890');i+=1;"*17

Try it online!

Python 2, 57 56 bytes

@Leaky Nun helped golfing this a lot.

@CotyJohnathanSaxman suggested changing the loop.

i=-8;exec"print(' '*abs(i)).join('1234567890');i+=1;"*17

Try it online!

5 added 51 characters in body
source | link
4 added 3 characters in body
source | link
3 deleted 4 characters in body
source | link
2 deleted 19 characters in body
source | link
1
source | link