title: How to write a function max_and_min that accepts a tuple containing integer elements as an argument?
body: <p>Functions can only return a single value but sometimes, we may want functions to return multiple values. Tuples can come in handy in such cases. We can create a tuple containing multiple values and return the tuple instead of a single value.</p>
  
  <p>Write a function <code>max_and_min</code> that accepts a tuple containing integer elements as an argument and returns the largest and smallest integer within the tuple. The return value should be a tuple containing the largest and smallest value, in that order.</p>
  
  <p>for example: <code>max_and_min((1, 2, 3, 4, 5)) = (5, 1)</code></p>
  
  <p>I am told to use an  iteration to loop through each value of the tuple parameter to find the maximum and minimum values. Also, I must use Python 3.x.</p>
  
  <p>How do I do this? I am really clueless. Thanks for your help!</p>
  
  <pre><code>def max_and_min(values):
      # Write your code here
  </code></pre>