Write a program that uses nested loops to draw this pattern:
*******
******
*****
****
***
**
*
# uses nested loops to draw the
#given pattern
for rows in range(7, 0, -1):
for columns in range(rows):
print("*", end="")
print()
Executed Output:
*******
******
*****
****
***
**
*