Python Maths Max -Wert auf x begrenzt

def clamp(n, minn, maxn):
    return max(min(maxn, n), minn)
Elated Earthworm