forked from tdwojak/Python2017
Done
This commit is contained in:
parent
fbba0900d5
commit
f6485d1e7a
@ -7,7 +7,12 @@ przez 3 lub 5 mniejszych niż n.
|
||||
"""
|
||||
|
||||
def sum_div35(n):
|
||||
pass
|
||||
sum = 0
|
||||
for i in range(n):
|
||||
if (i % 3 == 0) or (i % 5 == 0):
|
||||
sum += i
|
||||
|
||||
return sum
|
||||
|
||||
def tests(f):
|
||||
inputs = [[10], [100], [3845]]
|
||||
|
Loading…
Reference in New Issue
Block a user