feat(solution): problem #1

also added a gitignore line for macos file manager confs
main
steven 2023-07-31 11:52:56 -04:00
parent 9e92902cc6
commit 858dc20bc6
2 changed files with 9 additions and 0 deletions

2
.gitignore vendored 100644
View File

@ -0,0 +1,2 @@
# macOS
.DS_Store

View File

@ -0,0 +1,7 @@
sum = 0
for i in range(1000):
if (i % 3) == 0 or (i % 5) == 0:
sum += i
print("The sum of all the multiples of 3 or 5 below 1000 is: %d" % (sum))