1
0
forked from tdwojak/Python2017

task08 passed

This commit is contained in:
Ewelina 2017-11-27 01:11:39 +01:00
parent 63739e6968
commit 787b15d0a4

View File

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