Substituir Valor Simblico Por Valor Real Em Uma Equao Python

print(y.subs(x, 41))  # 42
Homely Hoopoe