"**" in python

Tim Chase python.list at tim.thechases.com
Mon Nov 24 01:43:16 CET 2014


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






More information about the Python-list mailing list