Bertrand Benjamin
cd31d3293c
All checks were successful
continuous-integration/drone/push Build is passing
10 lines
193 B
Python
10 lines
193 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
|