why sqrt is not a built-in function?

jak nospam at please.ty
Thu Jan 14 12:50:11 EST 2021


Il 14/01/2021 18:44, Denys Contant ha scritto:
> I don't understand why sqrt is not a built-in function.
> Why do we have to first import the function from the math module?
> I use it ALL THE TIME!
> 
> That felt good. Thank you.
> 
> 
> 
> 
> 
> 
> 
 >>> val=16
 >>> exp=2
 >>> val ** (1/exp)
4.0
 >>>


More information about the Python-list mailing list