Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'operator': 0.03; 'syntax': 0.04; 'squares': 0.07; 'here?': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"**"': 0.16; '"to': 0.16; '23,': 0.16; '5:00': 0.16; 'right:': 0.16; 'simpson': 0.16; 'stuff.': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'header:In-Reply- To:1': 0.27; 'google,': 0.29; 'tim': 0.29; 'message- id:@mail.gmail.com': 0.30; 'along': 0.30; 'code': 0.31; 'chase': 0.31; 'url:python': 0.33; 'there,': 0.34; 'received:google.com': 0.35; 'url:org': 0.36; 'searching': 0.37; 'nov': 0.38; 'pm,': 0.38; 'url:3': 0.61; 'for:': 0.64; 'respect': 0.70; 'link:': 0.72; 'power': 0.76; '"index"': 0.84; 'url:reference': 0.84; 'yourself,': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=myLweIo2QElyDyErj2CHTMMajMTCJDckFkenm3QmXLQ=; b=cS0TqvfFuho1NAuGjRVkvZxZ7dnEI+VfoKYul0YDuyLDeWJjnxwvfCQMeBqQPKvYd3 wAfCZYTl9Hm8i1BV3qzo1nMe4wDzpsrBiXgG9r1O+ZhIM0sNGdbujyEWmrYzkAxPN437 qsrWrFZvvteLvVQ+E3Epyi0pAN8QwsQWbZpAER5EeI+oQKHWyX8a2OOyIannWu1HXA2C Xr2/5+G7UonZIFLEzolAl0bKeXu4v5GygmjGoP/kgjCxZ0PDaRBcNSnpGuBi0msOKN0v IX0mL9fcDImFbWIlSqgSyBXL1W7BDCAOX+QPNb4qQiEkNtVrHsd4s8XB8Rkfz6qH3Vzk z10g== MIME-Version: 1.0 X-Received: by 10.152.18.166 with SMTP id x6mr17577236lad.18.1416792951746; Sun, 23 Nov 2014 17:35:51 -0800 (PST) In-Reply-To: <20141124010003.GA44963@cskk.homeip.net> References: <20141123184316.77485a91@bigbox.christie.dr> <20141124010003.GA44963@cskk.homeip.net> Date: Sun, 23 Nov 2014 17:35:51 -0800 Subject: Re: "**" in python From: Dan Stromberg To: Cameron Simpson Content-Type: text/plain; charset=UTF-8 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416792954 news.xs4all.nl 2977 [2001:888:2000:d::a6]:56912 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81414 On Sun, Nov 23, 2014 at 5:00 PM, Cameron Simpson wrote: > On 23Nov2014 18:43, Tim Chase wrote: >> >> 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 > > > With respect to finding this out for yourself, if you go the Python docs: > > https://docs.python.org/3/ > > and follow the "index" link at the top right: > > https://docs.python.org/3/genindex.html > > and in that page, follow the "Symbols" link: > > https://docs.python.org/3/genindex-Symbols.html > > you will find "**" there, along with a lot of other operator and syntax > stuff. You can also learn this with Google, by searching for: python "star star" It takes you to a stackoverflow page about python exponentiation.