Started on project Euler, finished ass 1 in the most ugly way

This commit is contained in:
2020-03-28 03:09:13 +01:00
commit 2a0b0f1ca0

16
1/main.py Normal file
View File

@@ -0,0 +1,16 @@
import os
threes = set()
fives = set()
for x in range(334):
threes.add(3*x)
for x in range(200):
fives.add(5*x)
threesfives = threes.union(fives)
print(sum(threesfives))