Corrigé liste_decroissante

N'incluait pas le 0.
This commit is contained in:
Geoffrey Frogeye 2015-03-12 19:57:24 +01:00
parent 7566eba9e9
commit dd9680443f

View file

@ -162,7 +162,7 @@ def liste_decroissante(n):
"""
assert type(n) == int and n >= 0
return list(range(n - 1, 0, -1))
return list(range(n - 1, -1, -1))
question(3)