一个基础题,花了半小时,不能停
number =input('pls type number:')for n in range(int(number)): print((' '*(int(number)-n))+('#'*(2*n-1)))for n in range(int(number)): print((' '*(n+2))+('#'*(2*(int(number)-n-2)-1)))