isoscele triangle (pyramid) of number in Python3.x : We easily find triangle of number as below:
1
22
333, etc...

What I'm looking for is the way to get the answer as:
    1
   22 
  333 ( each number at the center of the following, 1 between 22,etc.)

I can do it with stars''*' with this code:/
n=int(input("give the number of star's lines:")/
for i in range(n):/
   T=' '*(n-i-1) + 'x'*(2*i+1)/
   print(T)

Must have i to use the def function or others?

Thank you
