Skip to main content
Search
TYPE HERE
PYTHON PROGRAMMES
By Nilay Saraf For PYTHON 3.0 and Above
Home
More…
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
Programmes Using For Loop
July 20, 2019
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
How To Print Column Triangle
#COLUMN TRIANGLE
print('COLUMN TRIANGLE')
r=int(input('Enter Number of Rows :- '))
d=1
x=' '
for i in range(1,r+1):
ac=1+(i-1)*d
x=x+str(ac)+' '
print(x)
Made
By
:-
Nilay Saraf
Comments
Popular Posts
July 02, 2019
How To Calculate Simple Interest
July 02, 2019
How To Calculate Compund Interest
Comments
Post a Comment