Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
eberjoe authored Jan 3, 2019
1 parent d984321 commit e529e66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions problem1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
j = 0
for i in range (3,1000):
j = j + i * ((i%3 * i%5) == 0)
print(j)
5 changes: 5 additions & 0 deletions problem2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
a, b, c = 0, 1, 0
while a <= 4000000:
c = c + (a%2 == 0)*a
a, b = b, a+b
print(c)

0 comments on commit e529e66

Please sign in to comment.