How do you find the maximum and minimum value in a list?
numbers = [12, 5, 7, 9, 21]
max_value = max(numbers)
min_value = min(numbers)
print(f"Max: {max_value}, Min: {min_value}")  # Output: Max: 21, Min: 5
