12 lines
224 B
Python
12 lines
224 B
Python
def maxi(t):
|
|
m = t[0]
|
|
for x in t:
|
|
if x[1] >= m[1]:
|
|
m = x
|
|
return m
|
|
|
|
L = [ ('Alice', 17), ('Barnabé', 17),
|
|
('Casimir', 17), ('Doriane', 17),
|
|
('Emilien', 14), ('Fabienne', 16)
|
|
]
|