Paste Search Dynamic
Recent pastes
in in range
  1. n = int(input())
  2. for i in range(1,n+1):
  3.     for j in range(n,0,-1):
  4.  
  5.         if i==j or (j==0 and i==n):
  6.  
  7.             print("*",end="")
  8.  
  9.         else:
  10.  
  11.             print(j, end = '')
  12.     print()
Parsed in 0.002 seconds