Question: Python You will be provided with an input file consisting of inventory items. The file name is Alinput.txt. Each line consists of comma-separated data: inventory
You will be provided with an input file consisting of inventory items. The file name is "Alinput.txt". Each line consists of comma-separated data: inventory number, category, description, and price. Part of the input file is shown below. The actual file has additional lines. Note that the inventory number has 4 characters, the category is in the set "book", "elect" "cloth", and "food". The description is free text, up to 25 characters in length. The price is floating point with only two digits to the right of the decimal.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
