Bertrand Benjamin
0b561c14bc
All checks were successful
continuous-integration/drone/push Build is passing
8 lines
187 B
Python
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
|