Please write a function in Python that accepts a list of integers as a parameter and returns a tuple containing the maximum and minimum values in the list. Your response should contain less than 150 words.
user