A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

anonymous

  • 4 years ago

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.

  • This Question is Closed
  1. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  2. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  3. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  4. anonymous
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    prob set 1 part 2

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.