Question: please help in python (Searching and Sorting) For this activity, you will do the following: 1. In a Notepad text file, create a list (one
please help in python
(Searching and Sorting) For this activity, you will do the following: 1. In a Notepad text file, create a list (one song per line) of the top 10 songs for one recording artist of your choice. This list should not be in alphabetical order. Name that text file songs.txt. 2. Write a menu-driven Python program that will allow the user to select the following options: Alphabetically order (and display) the songs from A-Z o Generate a random song (from the list of 10 songs) and display its title o Search for the exact title of a song Notes: . You should be using the binary search algorithm and the sorting algorithm of your choice for this program. Please include a print statement that displays the sorting algorithm you've used. . Whenever the user selects a menu choice, you should display the results of the menu operation on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
