1
0
forked from tdwojak/Python2017
This commit is contained in:
s45152 2017-12-01 14:46:05 +01:00
parent fbba0900d5
commit f6485d1e7a

View File

@ -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]]