forked from tdwojak/Python2018
jeszcze będe poprawiać
This commit is contained in:
parent
3672f3d65e
commit
a4b330b3b0
@ -7,7 +7,14 @@ przez 3 lub 5 mniejszych niż n.
|
||||
"""
|
||||
|
||||
def sum_div35(n):
|
||||
pass
|
||||
suma = 0
|
||||
i=1
|
||||
for i in range(n-1):
|
||||
if (i%3 or i%5):
|
||||
suma = suma + i
|
||||
|
||||
return suma
|
||||
#jeszcze jest źle
|
||||
|
||||
def tests(f):
|
||||
inputs = [[10], [100], [3845]]
|
||||
|
Loading…
Reference in New Issue
Block a user