Find the Biggest Number Witth Python
Option 1:
Option 2:
Both is right
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
Post a Comment