done
This commit is contained in:
parent
36e78f1dfa
commit
e1c9346baa
@ -10,7 +10,7 @@ def sum_from_one_to_n(n):
|
||||
suma = 0
|
||||
|
||||
for i in range(n+1):
|
||||
suma = suma + i
|
||||
suma = suma + i
|
||||
if n < 1:
|
||||
return 0
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user