Basic sympy problem in anaconda
Just change the ’ to " it works just fine, see:

from sympy import *
x,y=symbols("x,y");
solution=solve((4*x-3*y-17,7*x+5*y-11),x,y);
P=(solution[x],solution[y]);

print(P)
(118/41, -75/41)