Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Max fonction code in python

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Max #fonction #code #python
ADD COMMENT
Topic
Name
8+5 =