title: How to print this pattern? I cannot get the logic for eliminating the middle part
body: <p>Write a program that asks the user for an input <code>n</code> (assume that the user enters a positive integer) and prints only the boundaries of the triangle using asterisks <code>'*'</code> of height <code>n</code>.</p>
  
  <p>For example if the user enters 6 then the height of the triangle should be 6 as shown below and there should be no spaces between the asterisks on the top
  line:</p>
  
  <pre><code>******
  *   *
  *  *
  * *
  **
  *
  </code></pre>
  
  <p>I cannot understand how to print the part between top and end of pattern? This is my code:</p>
  
  <pre><code>n = int(input("Enter a positive integer value: "))
  for i in range (n, 0, -1):
      print ("*" * i)
  </code></pre>
  
  <p>The <code>for</code> loop is for printing the reverse asterisks triangle. Obstacle is to print the middle part.  </p>