311.csv #1

Open
s354567 wants to merge 17 commits from s354567/Python2018:master into master
Showing only changes of commit cc509761d9 - Show all commits

View File

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