questionwrite down python program that will read


Question

Write down Python program that will read list of temperatures from a data file you created called tempfile.txt and display the highest two temperatures. For in case Your program displays:

The highest two temperatures found are 89 and 70
When tempfile.txt contains

32
15
65
89
44
59
70

First read the temperatures into a list, and then loop during the llst looking for the two largest values without using built-in functions such as max or sort. then rewrite the program using the built-in function sort, and finally ,rewrit it the thir time using the built-in function max.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questionwrite down python program that will read
Reference No:- TGS0444671

Expected delivery within 24 Hours