title: Combining inputs and math
body: <p>I am trying to build a future value calculator using inputs but running into trouble with the math.  Can someone please advise on a solution?  Also, how could I convert the responses into integers or floats before calculating?</p>
  <pre><code>present= input(&quot;What is the present value?&quot;)
  rate = input(&quot;What is the rate of return?&quot;)
  periods = input(&quot;What is the number of periods?&quot;)
  answer = {present} * (1 + {rate} ** {periods})
  print(f&quot;The  future value is&quot;, int(answer))
  </code></pre>