Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Email
Username
Role: Buyer or Seller
b Delete an account 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 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 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 points
When a buyer purchases laptops, the system should calculate and show the details of the transaction.
eg
Username: mga Role: Buyer, Name: Thor
The laptops to purchase are as below:
table#Item Number,Manufacturer,Model,PriceDell,XPS $
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started