All checks were successful
continuous-integration/drone/push Build is passing
7 lines
152 B
Python
7 lines
152 B
Python
def maximum(liste):
|
|
candidat = liste[0]
|
|
for element in liste:
|
|
if element > candidat:
|
|
candidat = element
|
|
return candidat
|