Quadratic equation (find the errors)

Sign in to test your solution.
a = input() b = input() c = input() discriminant = b * 2 - 4ac x1 = (-b - sqrt(discriminant) / (2a) x2 = (-b + sqrt(discriminant)) / (2a) print("Zero point 1: {x1}") print("Zero point 2: {x2}")
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.

  Python sandbox

This window allows you to run Python code without installing a thing. The code you write here is <b>not</b> automatically submitted to Dodona.