title: Exponential powers with range
body: <p>I'm having a problem with my code </p>
  
  <pre><code>def bconver(n,b):
      for i in range(n):
          x = b ** i
  </code></pre>
  
  <p>I am trying to have <code>b</code> to the power of all the <code>i</code> values from the range of n. I need to be able to take those values and divide them by n allowing me to change it to any base. </p>
  
  <p>I have tried this code but it doesn't work since I can't divide those values after. Also, I need the answers not in a list</p>
  
  <pre><code>x = [b ** i for i in range(n)]  
  </code></pre>