title: Recursive Power Function Step
body: <p><strong>I have this:</strong></p>
  
  <pre><code>def main():
  
      input1 = input('Enter an integer for the base:')
      input2 = input('Enter an integer for the exponent:')
  
  
  main()
  </code></pre>
  
  <p><strong>This is what I fully need to do:</strong></p>
  
  <p>Create a main, and a power function. <strong>Half done.</strong></p>
  
  <p>prompt the user to enter an integer for the base of the power. <strong>Done.</strong></p>
  
  <p>prompt the user for an integer for the exponent of the power. <strong>Done.</strong></p>
  
  <p>call the power function and print its returned value. <strong>Can do.</strong></p>
  
  <p>The recursive power function, power(base,exponent), must recursively calculate the value of the power and then return it. <strong>Need help with this.</strong></p>
  
  <p>I have been trying to learn the recursive function stuff the past two days, and cannot seem to wrap my head around it. Could someone provide me a walk through of this, so I can mess around with it, so I can understand it better? Thanks!</p>