<｜begin▁of▁sentence｜>### Instruction:
Given a value, a minimum bound, and a maximum bound, how do you restrict the value to be within the specified range using a clamp function?
### Response:
def clamp(value, minimum, maximum):
<|EOT|>
