def quadraticSolver(a, b, c):
if a == <NUM_LIT:0>:<EOL><INDENT>if b == <NUM_LIT:0>:  return [] <EOL>else:       return [-c / float(b)]<EOL><DEDENT>else:<EOL><INDENT>d = b**<NUM_LIT> - <NUM_LIT:4>*a*c <EOL>if d < <NUM_LIT:0>:   return [] <EOL>solvedPart0 = <NUM_LIT:1>/(<NUM_LIT>*a)<EOL>solvedPart1 = -b * solvedPart0<EOL>if d == <NUM_LIT:0>:  return [ solvedPart1 ] <EOL>else: <EOL><INDENT>solvedPart2 = math.sqrt(d)*solvedPart0<EOL>return [ solvedPart1+solvedPart2, solvedPart1-solvedPart2 ]<EOL><DEDENT><DEDENT>
return solution(s) for x, to the quadratic equation a*x^2 + b*x + c
    when it equals zero using the quadratic formula