ConvertQCM/C1/vs/q62_67.py
2025-08-26 18:38:28 +02:00

7 lines
No EOL
172 B
Python

def maxi(L):
dernier_indice = len(L) - 1
valeur_max = L[0]
for i in range(1,dernier_indice):
if L[i] > valeur_max:
valeur_max = liste[i]
return valeur_max