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


Groups > comp.lang.python > #81408

Re: "**" in python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'squares': 0.07; 'here?': 0.09; 'cc:addr:python-list': 0.11; '"to': 0.16; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'code': 0.31; 'url:python': 0.33; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'to:addr:gmail.com': 0.65; 'received:46': 0.66; 'power': 0.76; 'url:reference': 0.84
X-Sender-Id wwwh|x-authuser|tim@thechases.com
X-Sender-Id wwwh|x-authuser|tim@thechases.com
X-MC-Relay Neutral
X-MailChannels-SenderId wwwh|x-authuser|tim@thechases.com
X-MailChannels-Auth-Id wwwh
X-MC-Loop-Signature 1416789641164:786448367
X-MC-Ingress-Time 1416789641164
Date Sun, 23 Nov 2014 18:43:16 -0600
From Tim Chase <python.list@tim.thechases.com>
To Abdul Abdul <abdul.sw84@gmail.com>
Subject Re: "**" in python
In-Reply-To <CAA+hu4V+X_Tira8NuB4hX6S-hfBoaR0JXCAbfgkHNyo1jeQSnA@mail.gmail.com>
References <CAA+hu4V+X_Tira8NuB4hX6S-hfBoaR0JXCAbfgkHNyo1jeQSnA@mail.gmail.com>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AuthUser tim@thechases.com
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16211.1416789656.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416789656 news.xs4all.nl 2916 [2001:888:2000:d::a6]:50465
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81408

Show key headers only | 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