that after I exit the IDLE, the pythonw.exe
process still keeps running. I have to manually kill the process
before I can launch the IDLE again.
Yash
>
> -- Forwarded message --
> From: "Alan Gauld"
> To: tu...@python.org
> Date: Thu, 2 Jul 2009 15:10:13
That helps a lot. It was stupid of me to not compare the output from
the two functions.
The second for loop is actually skiiping over some of the values and
hence it takes longer to run when the "plst" is generated.
On Wed, Jun 24, 2009 at 8:16 AM, Luke
Paireepinart wrote:
&g
d of knows
how many iterations to make, but in while loop it has to keep checking
every time.
Thank you,
Yash
def primes(Nmax):
""" primes(Nmax) -> list of prime numbers between 1 to Nmax
Generates a list of primes numbers between 1 and Nmax, including Nmax,