forked from tdwojak/Python2017
update test task
Signed-off-by: s45167 <krzysztof.spalinski@op.pl>
This commit is contained in:
parent
935a758977
commit
13f39cfb9c
@ -7,6 +7,11 @@ przez 3 lub 5 mniejszych niż n.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def sum_div35(n):
|
def sum_div35(n):
|
||||||
|
sum = 0
|
||||||
|
for i in range(n):
|
||||||
|
if (i % 5 == 0) or (i % 3 == 0):
|
||||||
|
sum += i
|
||||||
|
return sum
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def tests(f):
|
def tests(f):
|
||||||
|
Loading…
Reference in New Issue
Block a user