Question: Must be done in python and using linux mint Part 1. Write a program to ask for a list of songs. Each entry for a

Must be done in python and using linux mint

Must be done in python and using linux mint Part 1. Writea program to ask for a list of songs. Each entry for

Part 1. Write a program to ask for a list of songs. Each entry for a song will require an artist, a title and a time in minutes:seconds format. Part 1 should ask for a file name and then a series of songs until the user enters a blank artist. Do not ask the title and time when a blank artist has been entered. Write the data for each song out to the file, with each piece of information separated by a hyphen (so don't put a hyphen in the artist name or song title). A sample session of this part might be: Enter data file name: playlistl.txt Enter the artist, enter ""to quit: Artist: Jimmy Buffett Title: Cheeseburgers in Paradise Time: 4 12 Enter the artist, enter "" to quit: Artist: Bob Marley Title: No Woman Cry Time: 3:40 Arter the artist, enter r to quit: After the above session the contents of playlist1.txt would be: Jimmy Buffett-Cheeseburgers in Paradise-4:12 Bob Marley-No Woman Cry-3:40 Part 1. Write a program to ask for a list of songs. Each entry for a song will require an artist, a title and a time in minutes:seconds format. Part 1 should ask for a file name and then a series of songs until the user enters a blank artist. Do not ask the title and time when a blank artist has been entered. Write the data for each song out to the file, with each piece of information separated by a hyphen (so don't put a hyphen in the artist name or song title). A sample session of this part might be: Enter data file name: playlistl.txt Enter the artist, enter ""to quit: Artist: Jimmy Buffett Title: Cheeseburgers in Paradise Time: 4 12 Enter the artist, enter "" to quit: Artist: Bob Marley Title: No Woman Cry Time: 3:40 Arter the artist, enter r to quit: After the above session the contents of playlist1.txt would be: Jimmy Buffett-Cheeseburgers in Paradise-4:12 Bob Marley-No Woman Cry-3:40

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!