สถานะการส่งล่าสุด: -

SOS11: Star Pyramid

Star Pyramid

Get 1 integer input from user, the number is the amount of floors on the pyramid.

Example Outputs

Enter number of floors: 3
  *
 ***
*****


Enter number of floors: 5
    *
   ***
  *****
 *******
*********


number_of_floors = int(input("Enter number of floors: "))