a=float(input("valaur de a"))
b=float(input("valaur de b"))
if a!=0:
    x=b/a
    print("la solution est x=",x)
else:
    print("pas de solution")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: