Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
13 lines (10 sloc) 292 Bytes
__author__ = 'Avinash'
# Print a Reverse Pyramid
# Range of the Reverse Pyramid
num = int(input("Enter the range: \t "))
for rows in range(num, 0, -1):
for columns in range(0, num-rows):
print(end=" ")
for columns in range(0, rows):
print("*", end=" ")
print()
You can’t perform that action at this time.