0

Here is an function to return the maximum value among three positive integers. There is an error in this function. Provide an in

def max3bad(x,y,z): maximum = 0 if x >= y: if x >= z: maximum = x elif y >= z: maximum = y else: maximum = z return(maximum)

25th Sep 2019, 2:05 PM
Anirudh Putta
Anirudh Putta - avatar
1 Answer