def maximum(L): m = L[0] for i in range(1,len(L)): if .........: m = L[i] return m