n=eval(input("피라미드를 몇층으로 쌓으시겠습니까?")

a=1

while a< n+1:

  a= a+1

  print(end="  ")

형들여기서 a=1 이 신텍스 에러 뜨는데 왜그러는거야?