Question: WRITE A PYTHON CODE THAT PERFORMS THESE LISTED ITEMS, SEPARATE BY 1 , 2 , 3 , ETC A function to add any number of
WRITE A PYTHON CODE THAT PERFORMS THESE LISTED ITEMS, SEPARATE BY ETC
A function to add any number of books to the inventory. This function adds the name and amount of each item
A function to edit a book item that is currently in the inventory. This function edits any property the name and amount of each book independently
A function to set the price of a book rental per day
A function to edit the price of a book rental per day
A function to delete a book in the inventory. This function will delete all the attributes of the item
A function to delete the price of a book rental
A function than can search the inventory for a book by name and return the price and the number
of books remaining in stock
A function that can search for an item in the inventory by price and return name or names and
number of books in the stock
A function to print a list of all current books in the inventory. This function should print the name,
amount and prices in the format below
Name: Item Name Price: Price: Amount: Amount
A function to cash out a customer that
Takes the amount of each book that a customer borrows and remove it from the inventory
Calculates the price of each borrowed based on the price and amount of days the books were borrowed for.
Calculates the total for each book
Calculates the total for all books
Prints a Receipt
The receipt should also have the format of a regular cash receipt when printed
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
