Make this pattern. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Make this pattern.

* ** *** **** *****

27th Dec 2020, 7:14 AM
Pooja Singh
Pooja Singh - avatar
6 Answers
+ 8
print(*("*" * _ for _ in range (1, 6)), sep="\n")
27th Dec 2020, 7:23 AM
David Ashton
David Ashton - avatar
+ 4
Pooja Singh Q&A is for asking program related questions and you got your answer. Please don't chat here you can do it in personal chat delete your comments.
27th Dec 2020, 8:30 AM
RšŸ’ šŸ‡®šŸ‡³
RšŸ’ šŸ‡®šŸ‡³ - avatar
0
N= int(input ()) for i in range (1,n+1): print(i * "*")
28th Dec 2020, 3:07 PM
Reena Choudhary
Reena Choudhary - avatar
- 3
Good sir
27th Dec 2020, 7:24 AM
Pooja Singh
Pooja Singh - avatar
- 3
Can you teach me python
27th Dec 2020, 7:24 AM
Pooja Singh
Pooja Singh - avatar
- 3
Sir where are you from
27th Dec 2020, 7:25 AM
Pooja Singh
Pooja Singh - avatar