Possible Duplicate:
Pyramid of asterisks program in Python
I've written a program in C++ that displays a pyramid of asterisk (see below) and now I'd like to see how it's done in Python but it's not as easy as I'd thought it would be. :) Has anyone tried this and if so could you show me code that would help out? 2) Within those lines the number of "*" will appear as an ODD number (1 ,3 ,5 ,7 ,9 )
this is the output
* 1
*** 3
***** 5