Initial commit
Changes to be committed:
new file: problem_1.py
new file: problem_2.py
new file: problem_3.py
This commit is contained in:
13
problem_1.py
Normal file
13
problem_1.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import math
|
||||
|
||||
|
||||
sum = 0
|
||||
|
||||
|
||||
for x in range(0, 1000):
|
||||
if x % 3 == 0:
|
||||
sum += x
|
||||
elif x % 5 == 0:
|
||||
sum += x
|
||||
|
||||
print(sum)
|
||||
Reference in New Issue
Block a user