Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You work for an art gallery. You have data that represents the title, artist and price of the artworks in the gallery. Your job is
You work for an art gallery. You have data that represents the title, artist and price of the artworks in the gallery. Your job is to write a program that gets the data and stores it into three lists. Then your program should find the most expensive artwork and print out the name of the artist, the title and the price of the highest price work in the gallery.
I need help with the python code here, as I am having trouble determining the correct format to print out the highest price item out of the list.
>>> RESTART: /Users/ldipippo/Documents/csc 110/homework/hw-solutions-s19/hw3-3-artwork-s19.py How many art works do you have? 6 Enter artist name: Allison Enter title of art work: In the Weeds Enter price of art work: 550.50 Enter artist name: Josephine Enter title of art work: Over the River Enter price of art work: 999.99 Enter artist name: Valerie Enter title of art work: Never Again Enter price of art work: 845.80 Enter artist name: Naomi Enter title of art work: Do Damage Enter price of art work: 875.00 Enter artist name: Mark Enter title of art work: My Fault Enter price of art work: 450.99 Enter artist name: Angela Enter title of art work: The Water Fall Enter price of art work: 950.45 The highest price item is Over the River by Josephine at 999.99Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started