1
0
forked from tdwojak/Python2017
This commit is contained in:
s45147 2017-11-19 15:35:13 +01:00
parent 36e78f1dfa
commit e1c9346baa

View File

@ -10,7 +10,7 @@ def sum_from_one_to_n(n):
suma = 0 suma = 0
for i in range(n+1): for i in range(n+1):
suma = suma + i suma = suma + i
if n < 1: if n < 1:
return 0 return 0
else: else: