forked from tdwojak/Python2017
z1, z2, z3, z4, z5, z6, z7, z8
This commit is contained in:
parent
fb735b9d88
commit
e6e3ee8e35
@ -7,7 +7,11 @@ przez 3 lub 5 mniejszych niż n.
|
||||
"""
|
||||
|
||||
def sum_div35(n):
|
||||
pass
|
||||
res = 0
|
||||
for i in range(n):
|
||||
if i % 3 == 0 or i % 5 == 0:
|
||||
res += i
|
||||
return res
|
||||
|
||||
def tests(f):
|
||||
inputs = [[10], [100], [3845]]
|
||||
|
Loading…
Reference in New Issue
Block a user