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


Groups > comp.lang.python > #81408 > unrolled thread

Re: "**" in python

Started byTim Chase <python.list@tim.thechases.com>
First post2014-11-23 18:43 -0600
Last post2014-11-23 18:43 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#81408 — Re: "**" in python

FromTim Chase <python.list@tim.thechases.com>
Date2014-11-23 18:43 -0600
SubjectRe: "**" in python
Message-ID<mailman.16211.1416789656.18130.python-list@python.org>
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


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web