2022-2023/1NSI/06_Listes_et_tuples/scripts/QCM_filtre.py

7 lines
80 B
Python

def f(L):
m = L[0]
for x in L:
if x > m:
m = x
return m