Jan 4, 2021
For the problem 10, the variable num can be checked if prime number by evaluating from the list of prime numbers instead from range(2, num).
`https://github.com/SakyaSumedh/eulerProblem/blob/master/summation_of_primes.py`
For the problem 10, the variable num can be checked if prime number by evaluating from the list of prime numbers instead from range(2, num).
`https://github.com/SakyaSumedh/eulerProblem/blob/master/summation_of_primes.py`
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app