Write a program to print inverted star pattern for the given number


Topic: Write a program to print inverted star pattern for the given number

Solution

n=11
for i in range (n, 0, -1): 
    print((n-i) * ' ' + i * '*') 
	
	



List all Python Programs