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)
See more answers at brainly.com

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.