$ python -c 'for i in range(10):print((9-i)*" "+(2*i+1)*"*")'
*
***
*****
*******
*********
***********
*************
***************
*****************
*******************
```
## More information
## Recommended content
## Refs
Python – triangle
Created: (3 years ago)