title: Python equation substitution
body: <p>So i am starting with python and was wondering how i could substitute numbers for variables into that equation into a equation (python 2.7.2) help please? </p>
  
  <p>for example </p>
  
  <pre><code>def main():
     e = raw_input("input equation here")
     g = input("number to substitute") 
  </code></pre>
  
  <p>so you "e" would be a equation in terms of g and you could replace the g value that has a numerical value in the original equation. Sorry its kind of confusing, thank you.</p>