# Homework 21, problem 3: Clamp. # # Define def clamp(x, lo, hi): that returns lo if x < lo, # hi if x > hi, and x otherwise. Test with three calls (one in # range, one below, one above). # # Run with: python exercises/21/homework/03-clamp.py # Your code goes here: