title: how to resolve this using min and max functions but no conditional statements
body: <pre><code>def clip(lo, x, hi):
      '''
      Takes in three numbers and returns a value based on the value of x.
      Returns:
       - lo, when x &lt; lo
       - hi, when x &gt; hi
       - x, otherwise
      '''
  </code></pre>