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?
for example
def main():
e = raw_input("input equation here")
g = input("number to substitute")
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.
Using sympy: