Compare commits

...

1 Commits

Author SHA1 Message Date
steven 7ce2809140 feat(solution): problem #1
also added a gitignore line for macos file manager confs
2023-07-31 11:52:56 -04:00
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 is: %d" % (sum))