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.
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/
prob set 1 part 2
Join our real-time social learning platform and learn together with your friends!