title: How to print a string multiple times?
body: <p>How can I repeat a string multiple times, multiple times? I know I can use a for loop, but I would like to repeat a string <code>x</code> times per row, over <code>n</code> rows.</p>
  
  <p>For example, if the user enters <code>2</code>, the output would be:</p>
  
  <pre><code>@@
  @@
  @@
  @@
  </code></pre>
  
  <p>Where <code>x</code> equals 2, and <code>n</code> equals 4.</p>