[snip]
>> What is the square root function in python?
>
> There's one in the math module. Use the one in gmpy if you have it.
Or raise to the power 1/power
>>> 9**(1.0/2)
3.0
Also works for cube root, quad root etc.
>>> 27**(1.0/3)
3.0
>>> 81**(1.0/4)
3.0
>>> 243**(1.0/5)
3.0
Cheers,
Drea
-
On Mar 18, 6:39 pm, oog1e <""benjamin.serrato\"@G(oog1e)MAIL.com">
wrote:
> Hey, big thanks to you and Gabriel for replying. I couldn't quite follow
> what you did yet. What is this 'gimpy' thing
gmpy. It's the GMP (Gnu Multi-Precision) C-library in
a Python wrapper. It supports arbitrary precisio
Hey, big thanks to you and Gabriel for replying. I couldn't quite follow
what you did yet. What is this 'gimpy' thing and where can I read about
it? In response:
First: Heh, I'm a little embarrassed I didn't notice this. I thought 'I
only need to check up to half' but it didn't occur that base*
Benjamin Serrato wrote:
> P.S. What is the chance I'll get spam for using my real email address?
Fendi Chef Bag in Zucca Print - Black Trim Replica AAA, Fake HandBags
Cheap
Chef Bag in Zucca Print - Black Trim Bags Link :
http://www.cnreplicas.com/Fendi_1439.html
Chef Bag in Zucca Print - Black
On 17 mar, 21:03, Benjamin Serrato <[EMAIL PROTECTED]> wrote:
> I Found It!! The following was a post asking for help finding a bug. I
> thought I needed help with my syntax, but just before sending I found
> the bug on line 13. Line 13 should read: "base = 2". I would still
> appreciate any comme
> P.S. What is the chance I'll get spam for using my real email address?
Exactly 1.
> I currently don't get any so...
... you will get now.
Sorry to disappoint you, but it's better to be prepared in advance
than be shocked later :)
Cheers,
Daniel
--
http://mail.python.org/mailman/listinfo/pyt
On Mar 17, 7:03 pm, Benjamin Serrato <[EMAIL PROTECTED]>
wrote:
> I Found It!! The following was a post asking for help finding a bug. I
> thought I needed help with my syntax, but just before sending I found
> the bug on line 13. Line 13 should read: "base = 2". I would still
> appreciate any comm