Find the Biggest Number Witth Python

Option 1:
def biggest(a,b,c):
    return max(a,b,c)
print biggest (43,67,89)


Option 2:
def bigger (b,c):
    if b>c:
        return b
    return c

def biggest(a,b,c):
    
    return bigger(a,bigger(b,c))

print biggest(48,60,17)

Both is right

Comments

Popular posts from this blog

পিৎজা এবং বই

How to Download Video from Youtube - The Easiest way