Recycling Auto Machine - Python Development
$15-25 AUD / heure
Your task is to create a text-based program for simulating a Recycling Machine using the Python 3 programming language.
1.) Design and model two classes: RecyclableItem and RecyclingMachine,
2.) Create an activity chart which describes the behaviour of the Recycling Machine system,
3.) Create a computer program that allows a user to enter items that are able to be recycled into a machine. During the process the machine prompts the user for the type of item to be recycled and how many they have to enter. The machine keeps track of the number of each of the different items and keeps track of the total amount to pay the user until they indicate that they are finished. When they stop adding items, print out a receipt and given them the amount of money owing. The receipt should contain the following:
a. A list showing how many of each item has deposited and the cost of each item.
b. The total amount provided for each item
c. The total money received.
Example Program Output
Balance: $0.0. Please select a product: (Can, Bottle, Paper, Stop): Can
How many cans do you have?: 3
Please place 3 cans into machine.
Can accepted
Can accepted
Can accepted
You added 3 can(s) for $0.20 each. You have $0.6.
Balance: $0.6. Please select a product: (Can, Bottle, Paper): Bottle
How many bottles do you have?: 1
Please place 1 bottle into machine.
Bottle accepted
You added 1 can(s) for $0.50 each. You now have $1.10.
Please select a product: (Can, Bottle, Paper): STOP
----- Final Receipt -----
3 Can(s) $0.6
1 Bottle(s) $1.0
Number of items 4
Amount paid: $1.6
Thank you for recycling at BinWorld
(N)ext customer, or (Q)uit? q
>>>
Nº du projet : #18450495
À propos du projet
Décerné à:
I have experience in object-oriented style of programming included working with classes in languages such as C++ and Python 3
20 freelances font une offre moyenne de 20 $/heure pour ce travail
Dear client, Thanks a lot for taking your precious time to read my message. After browsing your job description, I am very interested in your project and I believe I’m qualified for the task. Regarding Python, Plus
Hi! I'm interesting your project very well. I am a full time developer and i can work more than 10 hours in a day. I am good at Python and I'm a good Software Engineer. And also I have many experience and good ski Plus
Hi, I have been using Python for more than 3 years now. I have contributed to open source python libraries and writing beautiful code is something I love to do. Please message me for more details.
Hello Sir, I have read your requirement and understood that you are looking for an Experienced developer to create a text-based program for simulating a Recycling Machine using the Python 3 programming language. Plus
Hello? I am a Data scientist with over 5 years experience in using python for web scrapping, data analysis, web design and programming using django and other python tools. I can build an interactive web based system th Plus
Hi, Hope you are doing well. I have a good experience in Python , Django, laravel,Node.js,,other C/C++, and PHP programming. I am looking forward to hearing from you very soon. Thanks Gurpal Singh
Hi.. The project seems really fun to do. The receipt that you want in the end, is it to be in PDF format or what??
Hi We have previously created an application for Penny Suparmarkt in Germany where the application allows to intake plastic bottles or cans or glass bottles based on which the calculations are done and finally Plus
Greetings to you! I am Syed Salma, working as Sr. HR Manager from the esteemed organizations (Mallang Salma Consulting Services Pvt Ltd). I would like to maintain the business relationship with you in deliverin Plus
Hi, I've got experience in python and I am very interested to do this project by getting all the scenarios right.
Hello, I can work on writing this program and am confident of doing a quality work. I love writing OOP style programs that are maintainable and scalable in future. Thank you