title: Print pascal triangle in oracle pl/sql
body: <p>How to print a pascal triangle with '*' in Oracle using Pl/SQL functions, I am expecting to write in minimal lines of code. Can anyone help me ?
  This is what I tried,</p>
  
  <pre><code>begin
  for i in 1..5 loop
  dbms_output.put_line('');
  for j in 1..i loop
  dbms_output.put('*');
  end loop;
  end loop;
  end;
  </code></pre>
  
  <p>I have an answer with two for loops to print a triangle, but I am trying to finish with one for loop using Lpad() and Rpad() functions.</p>