Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python max

#Returns the number with the highest value.
#If the values are strings, an alphabetical comparison is done.
x = max(-5, 12, 27)
print(x)#Prints 27 to the console.
 
PREVIOUS NEXT
Tagged: #python #max
ADD COMMENT
Topic
Name
3+1 =