I could not figure out how to complete problem 2 of assignment 2 in the 6.00 class. I watched lectures 1-4 and was still clueless. with help I was able to finally answer problem one which is to write code to find the 1000th prime. I ended up looking for the answer to see what I was supposed to do, yet the answer that I got doesn't work. It says log isn't defined, can someone give me a web address to a place where the correct answer is so I can see what it should be. Thanks.

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

What problem set are you talking about 2 or 1? PS 1 is the problem set about prime numbers.

http://pythonism.wordpress.com/2008/05/04/looking-at-prime-numbers-in-python/

the log function is in the math module which needs to be imported
http://dpaste.com/694206/

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.