Write a Python function to find the Max of three numbers.
function name: findMax parameters: num1, num2, num3 body: ^^ return max
def findDef (num1, num2, num3):
Max = num1
if num2 > Max:
Max = num2
if num3 > Max:
Max = num3
return (Max)
findDef()
that is what I got, but when i ran the test, it did not work. What am I missing? P.S. I'm learning coding by myself, so please don't laugh
