On 2021-01-14 at 17:54:55 +0000,
Alan Gauld via Python-list <python-list@python.org> wrote:

> My question is: why do we even have a sqrt() in the
> math module given that pow() and ** are already there?

Probably because the standard C math library has such a function, and
Python's math module is (or at least was) supposed be a thin wrapper
around that library.

For completeness, C doesn't have a exponentiation operator.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to