Question: please help in python Suppose you have been tasked to write a Python program that will accomplish the following tasks as related to the daily

please help in pythonplease help in python Suppose you have been tasked to write a

Suppose you have been tasked to write a Python program that will accomplish the following tasks as related to the daily gas prices for the past year (365 days): display the five (5) lowest gas prices for the year display the five (5) highest gas prices for the year allow the user to search for a specific gas price in the list; you should display a message for whether or not you found the gas price in the list A file named gas.txt contains data for gas prices of the past 365 days. Each line of the file contains a gas price for a particular day. For instance an excerpt from the file may look like this: 2.48 2.46 no. 2.34 Other solution requirements: You must use appropriate data types to represent the data field You must use lists and splicing You must use the binary recursive search algorithm You may use the merge sort algorithm for sorting

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!