1
0
forked from tdwojak/Python2018
This commit is contained in:
wagner.agnieszka 2018-06-01 17:55:41 +02:00
parent 8e45dba2e5
commit fd1d22ef4d

View File

@ -7,7 +7,11 @@ przez 3 lub 5 mniejszych niż n.
""" """
def sum_div35(n): def sum_div35(n):
pass x = 0
for i in range(n):
if ( i % 3 == 0 or i % 5 == 0 ) :
x += i
return(x)
def tests(f): def tests(f):
inputs = [[10], [100], [3845]] inputs = [[10], [100], [3845]]