title: Polynomials as input in Python
body: <p>How can you make Python take a polynomial as an input while maintaining the ability to substitute x for a real value?</p>
  
  <p>Here is what I tried:</p>
  
  <pre><code>fx=input("Enter a Polynomial: ")
  x=float(input("At wich position should the polynomial be evaluated: "))
  
  while True:
      print(eval("fx"))
  
      continue
  </code></pre>
  
  <p>The problem that arises is that Python will just evaluate fx as x and not as the value that I gave to x via my second input. </p>