title: Pyramid of asterisks program in Python
body: <p>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.</p>
  
  <p>Has anyone tried this and if so could you show me code that would help out?</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>       *
        ***
       *****
      *******
     *********
    ***********
   *************
  ***************
  </code></pre>