title: typeerror unsupported operand type(s) for ^: 'float' and 'float' in python and fusion360
body: <p>I'm trying to get a distance calculated in mm's with a for next loop in python for fusion360.</p>
  
  <p>The calculation gives an error:</p>
  
  <blockquote>
    <p>typeerror unsupported operand type(s) for ^: 'float' and 'float'</p>
  </blockquote>
  
  <p>The calulation is:</p>
  
  <pre><code>distance = scale - (scale / 2^ (x/12))
  </code></pre>
  
  <p>I think it has to do with casting to int numbers (although I think it must be possible work with values in milimeters with 2 decimals).
  I've tried </p>
  
  <pre><code>distance = int(scale - (scale / 2^ (x/12)))
  </code></pre>
  
  <p>and</p>
  
  <pre><code>distance = int(scale - (float(scale / 2^ (x/12)) )
  </code></pre>
  
  <p>But all give me the dreaded typeerror....</p>
  
  <p>Who can point me in the right direction?</p>