title: How to return a list of numbers of the power of 2?
body: <pre><code>def problem(n):
  myList = []
  for j in range(0, n):
      number = 2 ** j
      myList.append(number)
  return myList
  </code></pre>
  
  <p>I want this code to return the powers of 2 based upon the first n powers of 2. So for example, if I enter in 4, I want it to return [2,4,6,8,16]. Right now, the code returns [1,2,4,8] if I enter in 4. I think it's my range that's messing up the code. </p>