title: Replicating exp function with multiple inputs from R in python
body: <p>I am attempting to replicate an R script in python, and have come across an exponential function that I do not understand:</p>
  
  <pre><code>exp(-var1-var2-var3)
  </code></pre>
  
  <p>If I were to use 0.8, 1.2, and 0.3 as variables here, R would give me the answer <code>0.1002588</code>. However, I do not know how this is arrived at. I understand that the equivalent of exp in python is <code>**</code>, and know how to replicate this function with only one number as input but I see no way to do this with multiple numbers. I have tried <code>-var1**-var2**-var3</code>, which gives me <code>-1.235241</code>.</p>
  
  <p>How do I interpret this function, and what would the equivalent python code be for this?</p>