Question: Project 1 5 Write a Python application which reads data from input file, ProdData.txt into three lists: productList: stores the names of products, as
Project
Write a Python application which reads data from input file, "ProdData.txt into three lists:
productList: stores the names of products, as string data.
priceList: stores of the prices of products, as float data.
quantityList: stores the current quantity on hand of a product, as int data.
Each line of the input file stores data about one product. The fields are separated by commas. The data for the first product is: Li Hing Mango,
Find the extended value for each product by multiplying its price by its quantity. You may decide to store the extended value of each product in its own list.
Find the grand total of the inventory by adding together the extended values.
Produce the following output by accessing data from your lists:
tableLi Hing Mango,Wet Lemon Peel,Red Iso Peanut,Salty Seed,Mixed Arare,Shredded Ika,Imperial Mix,Mini Mori Maki,Taro Chips,Banana Chips,
Grand Total:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
