Correction indice

This commit is contained in:
Jean-Loup Beaussart 2015-03-10 11:03:40 +01:00
parent 620ed8373e
commit 28c3a3a92f

View file

@ -57,7 +57,7 @@ def liste_decroissante(n):
"""
assert(type(n)==int and n>=0)
return [i for i in range(n-1, 0, -1)]
return [i for i in range(n-1, -1, -1)]
question(3)