خرید بک لینک

Vote count: 0

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

asked 28 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 2 ارديبهشت 1396 ساعت: 13:35

صفحه بندی