why sqrt is not a built-in function?

Eli the Bearded * at eli.users.panix.com
Thu Jan 14 20:11:00 EST 2021


In comp.lang.python, Ethan Furman  <ethan at stoneleaf.us> wrote:
> On 1/14/21 11:06 AM, Eli the Bearded wrote:
>> "There should be one-- and preferably only one --obvious way to do it."
>> Plus the ** operation ("root = x ** 0.5"), that's now three ways.
> Yes, but which of those is obvious?

If it's up to me, the ** one.

Elijah
------
using a syntax with "^" instead of "**" would be okay, too


More information about the Python-list mailing list