What is wrong with my python?
By
bcredeur97
in Programming
in Programming
Go to solution
Solved by Glenwing,
(b² - 4ac) = (25 - 4•25) = -75, you're trying to take the square root of -75. You can't take the square root of a negative number, so you'll need a special case for that, which outputs "no solution" or something like that.
-
Topics
-
kerriya ·
Posted in Cases and Mods3 -
octester ·
Posted in Troubleshooting5 -
DavidPatrascu ·
Posted in General Discussion6 -
2
-
2
-
bill well ·
Posted in Peripherals1 -
4
-
2
-
Ha-Satan ·
Posted in Networking3 -
1
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now