Fri, 04 Dec 2009 16:22:38 +0300
Ed <sp...@yandex.ru> wrote:

> x_empty_dragon wrote:
> > python?
> 
> 
>  >>> 2+2^(1/2)
> 4
>  >>> 2+2.0^(1.0/2)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> TypeError: unsupported operand type(s) for ^: 'float' and 'float'
>  >>> 0x16+0b10
>   File "<stdin>", line 1
>     0x16+0b10
>             ^
> SyntaxError: invalid syntax

zcalc:

1> 2+2**(1.0/2) 
3,41421



-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    g...@cs.msu.su             Jabber:  g...@jabber.ru
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1


-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Ответить