why sqrt is not a built-in function?

Chris Green cl at isbd.net
Fri Jan 15 15:00:40 EST 2021


Michael F. Stemper <mstemper at gmail.com> wrote:
> On 14/01/2021 13.00, Rob Cliffe wrote:
> > On 14/01/2021 17:44, Denys Contant wrote:
> 
> >> 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!
> > I agree that, especially if you have experience in other languages, this 
> > feels odd, and I have some sympathy for you.
> 
> I cut my teeth on FORTRAN, which has SQRT() as part of the
> language. At least 3, 4, and 5 did; I never used later versions.
> 
Surely III, IV and V.  I was definitely Fortran IV

-- 
Chris Green
·


More information about the Python-list mailing list