use of (a**b) (a*b)
Rares Vernica
rvernica at gmail.com
Wed Nov 8 01:06:42 EST 2006
Hi,
Check out some examples:
In [16]: 9./2
Out[16]: 4.5
In [17]: 9.//2
Out[17]: 4
In [18]: 2*3
Out[18]: 6
In [19]: 2**3
Out[19]: 8
Here is the documentation for these operations:
http://docs.python.org/lib/typesnumeric.html
Regards,
Ray
Santosh Chikkerur wrote:
> Hi Friends,
> Let me know the use of ' ** ' operator and ' \\' use.
>
> f=(3*s**2) how is it different, if use only single '*' and also the
> divide operator.
>
>
> Thanks in advance,
> Santosh
>
>
More information about the Python-list
mailing list