1. Return the lowest and highest
Write code Easy ✓ CompletedWrite a function min_max(numbers) that returns both the smallest and the largest number in the list as one tuple (smallest, largest).
Then call it on temperatures and unpack the result into two variables called low and high, and print them.
temperatures = [18, 25, 11, 30, 22]
def min_max(numbers):
# return the smallest and the largest number
pass
# unpack the result into low and high, then print both
low, high = ....temperatures = [18, 25, 11, 30, 22]
def min_max(numbers):
return min(numbers), max(numbers)
low, high = min_max(temperatures)
print(low, high)