How To Print Column-Row Triangle
#ROW TRIANGLE(2)
print('ROW TRIANGLE')
c=int(input('Enter Column Value :- '))
print('The Row Triangle for Your Input is :- ')
d=0
x=' '
for i in range(1,c+1):
ac=1 + (i-1)
x=(str(ac)+' ')*i
print(x)
Made By :-
Nilay Saraf
Comments
Post a Comment