maximum of three numbers python code example
Example: return maximum of three values in python
def maximum(a,b,c):
max_val = a
if b > max_val:
max_val = b
if c > max_val:
max_val = c
return max_val
def maximum(a,b,c):
max_val = a
if b > max_val:
max_val = b
if c > max_val:
max_val = c
return max_val