title: Python - how to use the constant e^
body: <p>How would I implement this in python?</p>
  
  <p><code>1 / (1 + e^-(-6.78+(0.04*age)))</code></p>
  
  <p>I'm not sure about the <code>e</code> part of the formula. Here's image:</p>
  
  <p><a href="https://i.stack.imgur.com/2rKtT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2rKtT.png" alt="img"></a></p>