Question: In Python please. This programming project involves implementing a laptop market system named Knights UsedLaptop, designed for the selling and buying of used laptops. Sellers

In Python please. This programming project involves implementing a laptop market system named Knights UsedLaptop, designed for the selling and buying of used laptops. Sellers can register their used laptops, and buyers can browse, and purchase laptops listed by sellers. The system will maintain records of laptops and user information, including both buyers and sellers.
The Knights UsedLaptop system should be developed using Python programming language.
Your program must provide the following functions as below:
a. Create an account (10 points)
To participate in buying or selling, users are required to create an account by providing the following information. These user accounts will be stored and managed within a user list.
Name
Telephone Number
E-mail
Username
Role: Buyer or Seller
b. Delete an account (10 points)
Delete the current user account from the list of users. If no account is found, the system will display an error message such as "The account was not found."
c. List laptops (10 points)
Sellers have the capability to list laptops onto a laptop list by providing the following information. If a buyer attempts to list laptops, the system will generate an error message stating, "Only sellers can list a laptop." When a laptop is listed, the status should be "Available".
Item Number
Model
Manufacturer
Price
Seller username
Status: Sold or Available
d. Delete laptops (10 points)
Once a laptop is sold, its status should be updated to "Sold," and sellers may have the ability to delete sold laptops from the laptop list.
e. Transaction (20 points)
When a buyer purchases laptops, the system should calculate and show the details of the transaction.
(e.g.)
Username: mga101, Role: Buyer, Name: Thor
The laptops to purchase are as below:
\table[[#,Item Number,Manufacturer,Model,Price],[1,101,Dell,XPS 15,$900.00
 In Python please. This programming project involves implementing a laptop market

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!