title: Rewriting exponents for use in a loop
body: <p>How can I rewrite this for use in a for loop?</p>
  
  <pre><code># X to the Y
  result = (X**Y)
  print (result)
  </code></pre>
  
  <p>I know how to perform the for loop function but I can't remember how to write the  exponents.</p>