+ 3
How do you square root a number?
6 Respostas
+ 2
Jan Markus Ok sorry, I didn't see that. What advantages does your method have over sqrt()?
+ 2
Jan Markus That's true, it is shorter, but isn't taking the square root of a negative number illegal?
0
what do you mean by variant
0
The first option is simpler.
0
ok thanks
0
import math and use the sqrt() function.