Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81408

Re: "**" in python

Date 2014-11-23 18:43 -0600
From Tim Chase <python.list@tim.thechases.com>
Subject Re: "**" in python
References <CAA+hu4V+X_Tira8NuB4hX6S-hfBoaR0JXCAbfgkHNyo1jeQSnA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.16211.1416789656.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 2014-11-24 01:33, Abdul Abdul wrote:
> Wxy**2
> 
> What do ** mean here?

"to the power of", so your code squares the value of "Wxy", or "Wxy *
Wxy"

https://docs.python.org/2/reference/expressions.html#the-power-operator

-tkc


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: "**" in python Tim Chase <python.list@tim.thechases.com> - 2014-11-23 18:43 -0600

csiph-web