def safran(): x=1 p=50 c=2*x**2-23*x+90+36/x while ........: x=x+0.1 c=2*x**2-23*x+90+36/x return(........)