title: Use np.arange and the exponentiation operator ** to compute the first 30 powers of 2, starting from 2^0
body: <p>In a jupyter notebook, the bottom code gives an asterick such that the kernel can't run and needs to restart. I find no other way to have it compute what its asking for in the problem. Is there another less computational way so as to not give an asterick (too much work for the kernel)?</p>
  
  <blockquote>
    <p>The powers of 2 (20=1, 21=2, 22=4, etc) arise frequently in computer
    science. (For example, you may have noticed that storage on
    smartphones or USBs come in powers of 2, like 16 GB, 32 GB, or 64 GB.)
    Use np.arange and the exponentiation operator ** to compute the first
    30 powers of 2, starting from 2^0.</p>
  </blockquote>
  
  <pre><code>    import numpy as np
      powers_of_2 = np.arange(2**0,2**30,2**1)
      powers_of_2
  </code></pre>