Adding ".0" to all the numbers in the code seems to help.(-9.433363736780528, -9.433363736780528, -9.433363736780528)
In reply to Re^2: solve cubic equations (Python)
by Anonymous Monk
in thread solve cubic equations
by no_slogan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |