project-euler-100

[RADIOACTIVE] solutions to the first 100 challenges of project euler
git clone git://git.figbert.com/project-euler-100.git
Log | Files | Refs | README

commit c184e97a5dcd2503c240119098cd690bdd77f3ca
parent 2a555e12351d9d7e5b0445146bf57779a7126ea9
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Sat, 25 Jan 2020 15:22:57 -0800

Standardize spacing in solution to problem 7

Diffstat:
Mproblem007.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/problem007.py b/problem007.py @@ -9,7 +9,7 @@ def sieveOfEratosthenes(limit): p = 2 while (p * p <= limit): if (prime[p] == True): - for i in range(p * 2, limit+ 1, p): + for i in range(p * 2, limit + 1, p): prime[i] = False p += 1 prime[0:2] = [False, False]