• anonymous
PSet 1, problem 1, the prime numbers thing. I'd just like to see if I'm on the right track. Here's what I have so far: testnum = 2 divisor = 3 goal = 2 ctr = 0 while ctr < goal: while divisor < testnum: if testnum%divisor == 0: ctr += 1 else: testnum +=1 while goal < ctr: print testnum I've been stalking the group all morning and somnamniac's replies to some other questions have helped a lot. Thanks in advance.
MIT 6.00 Intro Computer Science (OCW)
• Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Looking for something else?

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