#Find maximum of three parameters. def max3(a,b,c): if a>b: if a>c: max=a else: max=c else: if b>c: max=b else: max=c return max