Create a Python function clamp that takes a number, a lower bound and an upper bound and clamps the value between the two bounds.
number=12, lower=3, upper=15
def clamp(number, lower, upper):
    if number < lower:
        return lower
    elif number > upper:
        return upper
    else:
        return number