Question: In Python: Given file is 'cd_catalog.xml' as: Empire Burlesque Bob Dylan USA Columbia 10.90 1985 Hide your heart Bonnie Tyler UK CBS Records 9.90 1988
In Python:
Given file is 'cd_catalog.xml' as:
Parse the file "cd_catalog.xml". Extract the TITLE, ARTIST, and decade information from the each CD element in the file and display each set of cd data in a column that looks like this:
Artist: Bob Dylan, Title: Empire Burlesque, Decade: 80s
Artist: Bonnie Tyler Title: Hide your heart, Decade: 80s
...and etc.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
