question archive A Python program for the following problem set

A Python program for the following problem set

Subject:Computer SciencePrice: Bought3

A Python program for the following problem set. We are aiming to Generate an app for library. A customer can rent a book for an hour OR a day OR a week. Hourly price for renting a book is $1, daily price for renting a book is $2, and weekly price for renting a book is $5. A person can rent more than one book. 

A library can issue a receipt when customers return a book. Total due is shown by calculating respective rates and time. A customer can select more books but not different time periods and that the request can not exceed the number of books available. 

Also write a unit test with

 if __name__ == "__main__": such a way that it receives a library information and takes customer input. 

 

Give me as many as possible PYTHON CODE Lines

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions