title: How to print a rhomboid shape in Python?
body: <p>How can I change this code that instead of printing the shape below, it prints it like a lozenge (rhomboid)?</p>
  
  <pre><code>def star (m):
      for i in range (m + 1):
          print ("*" * i)
      for i in range ( m + 1 ):
          print ("*" * (m - 1))
          m -= 1
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>*
  **
  ***
  ****
  ***
  **
  *
  </code></pre>