ch01_ex84_prof.py

Created by manuel-2de-indice2019

Created on October 11, 2019

183 Bytes


def central(a,b,c):
    m=min(a,b,c)
    M=max(a,b,c)
    if a!=m and a!=M:
        return(a)
    if b!=m and b!=M:
        return(b)
    else:
        return(c)