hello, I'm stuck on the second problem of set 1.
I am trying to write code to add the logs of each prime generated. I think it's close, but for some reason, it never exits the while loop when I want it to (when the number chosen is reached by the prime generator).
No matter what, it seems to just give the sum of the first two primes.
Any advice is much appreciated...
the question box won't let me add my code... how do I share the full code?

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!

I attached the code to this answer... not sure how I was supposed to share it..

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.