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

16th Aug 2016, 6:18 PM
Anurag
Anurag - avatar
2 Respostas
0
You can put the quadratic coefficents as the parameters to the quadratic equation function
18th Aug 2016, 9:42 PM
Mark Gidney
Mark Gidney - avatar
0
like this: def quadraticSolver (a, b, c): something quadraticSolver (1, 2, 3)
18th Aug 2016, 9:44 PM
Mark Gidney
Mark Gidney - avatar