x = 1
y = 2
z = 3
var = {x:"x",y:"y",z:"z"}
max(var)
var.get(max(var))
var.get(min(var))
----OUTPUT----
3
z
x
#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.
# This program will find out the greater number in the arguments
def larger_number(x, y):
if x > y:
print(x, "is greater")
else:
print(y, 'is greater')
larger_number(12, 31)