7 lines
80 B
Python
7 lines
80 B
Python
def f(L):
|
|
m = L[0]
|
|
for x in L:
|
|
if x > m:
|
|
m = x
|
|
return m
|