Question: Must be done in python and using linux mint Write a program that will build a file containing a list of musical CDs. The program

Must be done in python and using linux mint

Must be done in python and using linux mint Write a programthat will build a file containing a list of musical CDs. The

Write a program that will build a file containing a list of musical CDs. The program will ask the user for an artist and title. The program will do this continuously until the user enters QUIT (in capital letters) for the artist. Do not ask for a CD title if QUIT is entered for the artist. Each artist and title information should be written to a data file. This means the program should ask for a name of the name before asking for the CD information. You may use raw input or the fileOpenBox method from cs160gui to get the filename. The CD information will be on a single line with the two pieces of data separated by a colon (). This might be an example of running Part 1 Enter a CD filename: CDTitles.txt Enter an artist: Zac Brown Band Enter CD title: You Get What You Give Enter an artist: AC DC Enter CD title: Back in Black Enter an artist: Jimmy Buffett Enter CD title A1A Enter an artist: QUIT The CDTitles.txt data file created might look like Zac Brown Band: You Get What You Give AC DC:Back in Black Jimmy Buffett:A1A Write a program that will build a file containing a list of musical CDs. The program will ask the user for an artist and title. The program will do this continuously until the user enters QUIT (in capital letters) for the artist. Do not ask for a CD title if QUIT is entered for the artist. Each artist and title information should be written to a data file. This means the program should ask for a name of the name before asking for the CD information. You may use raw input or the fileOpenBox method from cs160gui to get the filename. The CD information will be on a single line with the two pieces of data separated by a colon (). This might be an example of running Part 1 Enter a CD filename: CDTitles.txt Enter an artist: Zac Brown Band Enter CD title: You Get What You Give Enter an artist: AC DC Enter CD title: Back in Black Enter an artist: Jimmy Buffett Enter CD title A1A Enter an artist: QUIT The CDTitles.txt data file created might look like Zac Brown Band: You Get What You Give AC DC:Back in Black Jimmy Buffett:A1A

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!