Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions