# max3.py # From Zelle p222 # def max3(x,y,z): # set the default max = x # Overwrite as needed if y > max: max = y if z > max: max = z # return the max return max def main(): x,y,z = input("Give me 3 numbers, eg 3,6,9: ") print "The max is: ", max(x,y,z) main()