# Instructions Sahara desert explorers call us for help! They want to know some statistics about the temperature in Sahara, but sometimes their thermometer fails to record the proper temperature. Help them to find which temperature is from correct recordings and which is broken and calculate statistics on given data. During the night, temperature in Sahara varies from -4 to -10 C. During the day, the temperature varies from 20 to 5 C. Create a function check_input (temperature) that will return True if this temperature can be from Sahara and False if it is from a broken thermometer (i.e., outside of the expected range). Write a program to use the check_input to create a list of valid temperatures and compute their statistics: 1. Create a list, where you will store the "possible" temperatures. Let's say temperatures list. 2. Input five numbers one by one (in this case measurement is an integer, but great that you thought about what type to convert!). For each value, check it with your function and if the function tells that it is the possible temperature for Sahara - add this value to the temperatures list. 3. Find the minimum, maximum, and average temperature in temperatures and print it to match the example below: Example input -10 -20 20 48 21 Example Output The minimum value is -10, the maximum value is 48, the average value is 19.75.

Question

Python

• Create a function to match the specifications
• Use floating-point value division
• Write a program to get the user input and call the custom function and produce the desired output using a format function and __name__ == '__main__' to output the specified precision

Hints that I've given:

• If you wrote the code to work with one input value (including reading it) you can copy-paste it 5 times. Soon we will learn how to do it easier and simpler.
• To calculate the minimum and maximum search for the function that we've learned in the List section. For average think about sum and len functions.
• Average of some values is the sum of this values, divided by the number of values.