Skip to main content
1 of 6
Dion
  • 4k
  • 12
  • 42

Python 2, 104 bytes

n=input()
for i in range(n):s=n-i;print(' '*(s+1)+'/ '*i+'_'*(2*s+len(str(n))))
print('\/'*n+' '+str(n))

Try it online!

Dion
  • 4k
  • 12
  • 42