Python Program of downward Triangle star Pattern


 # Program of downward Triangle star Pattern

a=int(input("Enter any Number : "))
print("\n")
i=a
while(i>0):
    j=i
    while(j>0):
        print("*",end='    ')
        j-=1
    print("\n")

    i-=1

Output is:-




Post a Comment

0 Comments