Files
Bertrand Benjamin 0b561c14bc
All checks were successful
continuous-integration/drone/push Build is passing
Feat(1NSI): ajuste DS4
2023-03-31 14:19:53 +02:00

8 lines
187 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 = L[i]
return valeur_max