title: How to write a star pattern program in lua?
body: <p>The following code is printing the pattern in one line:</p>
  
  <pre><code>for i=6, 1, -1 do
     for j=1, i, 1 do
        print("*")
        end
     print(" \n ")
     end
  </code></pre>