×
FREE ASSISTANCE FOR THE INQUISITIVE PEOPLE
Tutorial Topics
X
softetechnologies
Pattern 02 Lucas Series
Pattern 03 - Python Language
1897    Arnab De    23/09/2020

Write a python program to print the pattern shown in diagram.

softetechnologies
n=int(input("Enter the no of row : "))
for r in range(1,n+1):
    for c in range(1,r+1):
        print("* ",end='')
    print()
softetechnologies
Pattern 02 Lucas Series
softetechnologies
Author Details
Arnab De
I have over 16 years of experience working as an IT professional, ranging from teaching at my own institute to being a computer faculty at different leading institute across Kolkata. I also work as a web developer and designer, having worked for renowned companies and brand. Through tutorialathome, I wish to share my years of knowledge with the readers.
Enter New Comment
Comment History
No Comment Found Yet.
Sri Sri Ramakrishna Paramahamsa
If you want to go east, don't go west.
Sri Sri Ramakrishna Paramahamsa
633
79.58
Today So Far
Total View (Lakh)
softetechnologies
26/05/2018     53865
25/06/2018     44935
01/01/2018     43512
28/06/2017     41083
02/08/2017     40054
01/08/2017     34103
06/07/2017     33935
15/05/2017     33182
11/09/2018     29968
14/07/2017     29646
softetechnologies