[Tutor] RE: Prime Numbers
Bob Gailer
ramrom@earthling.net
Wed Feb 26 07:35:01 2003
--=======499F78A2=======
Content-Type: text/plain; x-avg-checked=avg-ok-4A6E6042; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit
At 03:26 AM 2/26/2003 -0600, Ike Hall wrote:
>#So, we are going to need the math module, because I wanted to speed it up
>using sqrt()...
Just a reminder that you don't need the math module and sqrt. To get the
square root of a number x just use:
sx = x**.5
Bob Gailer
mailto:ramrom@earthling.net
303 442 2625
--=======499F78A2=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-4A6E6042
Content-Disposition: inline
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.454 / Virus Database: 253 - Release Date: 2/10/2003
--=======499F78A2=======--