Computer Science, asked by anupriya37, 1 year ago

write program in python
*
**
***
****
*****

Answers

Answered by BERACAH
3

for i in range(5):

          for j in range(i):

                      print('*',end='')

          print()

Answered by AnupamKris
5

The first answer is correct but I have a more simple one

For i in range(6):

Print('*' * i)

Similar questions