The sum of three consecutive odd integers is equal to 39 . Write the equation that describes this situation and determine the three integers .
from sympy import *
k = symbols('k')
answer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 39.0)])
print(answer)
