Write a program to generate the following sequence
1:
*
*
**
***
****
*****
2:
*****
****
***
**
*
Answers
Answered by
0
Answer:
7gdyrvdurvdj djrvdi4g du3chdg du4c
Answered by
1
Answer:
1)
for i in range(0, 5):
for j in range(0, i+1):
print("* ",end="")
print()
2)
for i in range(0, 5):
for j in range(5, i, -1):
print("* ", end="")
print()
Similar questions