I\'m trying to make a script which asks a maths equation, then the user has to type in what they think answer is and then python would output the answer
However, for som
try this
print "What's 3+7"
a = 5 # system store input as '5'
print eval(a +' + 4') # now final string will be '4 + 5'
Few recommendation: