Question: . Write a Python program that reads a text file called perfumes.txt. A sample of the file is provided below, you may add more details

. Write a Python program that reads a text file called perfumes.txt. A sample of the file is provided below, you may add more details to the file. Each row has a perfume name and respective price. Your program must read the data from the file and identify the most expensive perfume in the list. Sample file is given below.

perfumes.txt Gucci 415 Prada 435 Cartier 310 Hermes 553 Dior 386 Burberry 369

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!