Write the definition of a function max that has three int parameters and returns the largest.
Answer:
def max(x,y,z):
if (x>z and x>y):
return (x)
elif (y>x and y>z):
return y
else:
return z
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.