"Sum of Primes"

What is the sum of all prime numbers below 5000?


Modify challenge 8 code so the loop checks if the prime is < 5000 rather than looping 250 times.

Awnser:

Source: