z1, z3
This commit is contained in:
parent
ef738800ee
commit
7c35d1ea07
@ -8,7 +8,6 @@ Jeśli podany argument jest mniejszy od 1 powinna być zwracana wartość 0.
|
|||||||
|
|
||||||
def sum_from_one_to_n(n):
|
def sum_from_one_to_n(n):
|
||||||
ResultList = []
|
ResultList = []
|
||||||
for z in
|
|
||||||
if n <1:
|
if n <1:
|
||||||
ResultList.append(0)
|
ResultList.append(0)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user