🌈 搜索
📅  最后修改于: 2022-03-11 14:45:07.685000             🧑  作者: Mango
def clamp(n, minn, maxn): return max(min(maxn, n), minn)