Search this website

code that write astrick * pyramids in python

No comments
*
**
***
****
*****
******
*******
********
*********
**********

s="*"
i=0
while i<10:
    print(s)
    s=s+'*'
    i=i+1

No comments :

Post a Comment