Correction indice
This commit is contained in:
parent
620ed8373e
commit
28c3a3a92f
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue