def Maximum(*args): Max = 0 for item in List: if item > Max: item = Max return Max List = [1,5,8,77,24,95] maxList = Maximum(List) print str(maxList)
if item > Max: Max = item return Max