0
instead of asking user to input coefficients of quadratic equation for its solution can I directly input quadratic equation to get its 2 solution
2 Answers
0
You can put the quadratic coefficents as the parameters to the quadratic equation function
0
like this:
def quadraticSolver (a, b, c):
something
quadraticSolver (1, 2, 3)