I'm working on the first problem set and came up with the following code, but cannot figure out how to get it to achieve the desired outcome of generating the first 1000 prime numbers. Any suggestions?
>>> y=7920
>>> x=2
>>> i=2
>>> while x

MIT 6.00 Intro Computer Science (OCW)
I'm working on the first problem set and came up with the following code, but cannot figure out how to get it to achieve the desired outcome of generating the first 1000 prime numbers. Any suggestions?
>>> y=7920
>>> x=2
>>> i=2
>>> while x

MIT 6.00 Intro Computer Science (OCW)
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!

x=2
i=2
while x

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.