Share your repls and programming experiences

← Back to all posts
PRINITNG TRIANGLE STAR
Ahmerparvez (0)

DDD
x = int(input("Enter the number of lines required:"))
v = 40
for i in range(1,x+1):
print(" " v, end = " ")
for j in range(1,i+1):
print("
",end = " ")
print()
v -= 1