Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are given a text file, which contains temperature values. Write a python program to read the temperature values from the file, then display the
You are given a text file, which contains temperature values. Write a python program to read the temperature values from the file, then display the values sorted in descending order, also display minimum, maximum, average temperature values and draw the temperature values as shown in the sample run below. Here is the sample run: Student Name: Your Name Student No:Your Number TEMPERATURE VALUES Original: -1 0 8 1 4 -5 42 -4 7 9 33 8 0 1 4 - 27 28 Sorted: 42 33 9 8 8 8 7 4 4 2 1 1 0 -1 -4 -5 -27 Count: 20 Minimum temperature: -27 Maximum temperature: 42 Average temperature: 4.50 CANADA 40 30 20 10 TEMPERATURE 0- -10 -20 -30 0.0 25 5.0 7.5 10.0 12.5 15.0 17.5 This is the given txt file INOO 4 -27 2 8
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started