The sum of two consecutive integers problem . Three times the larger integer less two times the smaller integer is 58 . Find the value of the smaller integer
from sympy import *
x = symbols('x')
answer = solve([Eq(3.0*(x+1.0)-2.0*x, 58.0)])
print(answer)
