I have this code
ecuation=("95502+45806-85773-659740")
answer = sum(int(x) for x in ecuation if x.isdigit())
print(answer)
Which prints this as answer
105
This is not correct, the idea is to get the ecuation from a web page (I already have that part working) and solve it.
note: The ecuation will always change but it will always be adding and substracting numbers.