Tamamlanmış

Python Project

Hi,

I just started taking python classes this semester and I need help with a python program that's due Wednesday. It's a simple one but I don't have the time to build it. This

might be against you ethics, but I need you to build it for me and maybe explain it (that's optional). I would be willing to pay you 50$-75$ maybe a 100$ if it's what I need.

Below is what I need.

Please respond as soon as you can..

Housemate Helper.

Overview: This program allows a bunch of housemates to organize the sharing of expenses and the maintaining of inventory. Any housemate can enter his name, an item he bought (by category, either: Food, Utility, or Toy) the quantity of the item, and the total amount of money he spent. Then various queries can be made, about the quantity of items, about who owes who money, and so on, as detailed below.

Requirements: You must 1) create a class named HousemateHelper, which will be described below, 2) create other classes as needed, which will all be known by the top level class HousemateHelper, 3) write a simple console application (no graphics!) that uses the class HousemateHelper, with a few simple method calls, to create an interactive housemate helper.

In the following discussion, by a Item-String we mean a string which takes on one of the following 3 values: “food”, “utility”, or “toy”. The class HousemateHelper, must have at least the following methods (it may have more methods):

(a) The initializer takes no inputs.

(b) addPurchase: Takes as input Name, Item, Quantity, Cost; where Name is the name of the person who bought the item, Item is an Item-String, Quantity is positive integer, and Cost is a float. This information should be appropriately saved.

(c) getInventory: Takes a string input which should be an item-string, and returns the quantity of that item currently possessed.

(d) useItem: Takes as input a string, and a positive integer k. The string should be an Item-String. The result is that k of the given item are removed from inventory.

(e) personValue: Takes a string as input, which should be one of the people who has purchased something. The method returns a float (positive, negative, or zero) which indicates how much that person is in owed.

(f) equalize: Takes no inputs. Indicates a scheme by which people can make pay- ments to equalize everything. The format output should be a list of tuples, where each tuple is of the form (A, B, x), where A and B are person names, and x is an amount of money that A should pay to B.

8

Example: The following code should print or return what is in the comments.

H = HousemateHelper()

[url removed, login to view](’Juan’, ’food’, 7, 50)

[url removed, login to view](’Alice’, ’food’, 3, 5)

[url removed, login to view](’Bob’, ’toy’, 18, 35)

[url removed, login to view](’Liz’, ’utility’, 2, 10)

[url removed, login to view](’food’, 4)

[url removed, login to view](’food’) # returns 6 (i.e. 7 + 3 - 4)

[url removed, login to view](’Juan’) # returns 25

[url removed, login to view](’Bob’) # returns 10

[url removed, login to view](’Alice’) # returns -20 (note negative)

[url removed, login to view](’Liz’) # returns -15 (note negative)

[url removed, login to view]() # The following line is a possible return

#[ (’Alice’, ’Bob’, 10), (’Alice’, ’Juan’, 10), (’Liz’, ’Juan’, 15) ]

Beceriler: C Programlama, Java, Makine Öğrenimi, Python, Yazılım Mimarisi

Daha fazlasını gör: convert python project, appengine java python project, python project beginners, open erp python project, basic python project, python project samples, python project telit, python project pay, python project management issue tracking, python project tracking, python project example, google python project, python project searchengine, python project creator, small python project example

İşveren Hakkında:
( 0 değerlendirme ) United States

Proje NO: #16768014

Seçilen:

tuvvkstn

Hello. I am Tu. I have done many python projects and I can finish it for you. I hope to work with you. thank you.

%selectedBids___i_period_sub_7% gün içinde 100%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(24 Değerlendirme)
4.3

Bu iş için 10 freelancer ortalamada $111 teklif veriyor

liveexperts123

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(46 Değerlendirme)
6.4
RushService

Feel fee to contact me for Python [login to view URL] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the wor Daha Fazla

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(45 Değerlendirme)
5.9
pkbsdmp

I am a python developer having 6 + experience in IT industry. I am expert in: * Python, Web Development (Django, Flask) * CSS, HTML5, Javascript, AJAX, JQuery, Bootstrap * REST API application development Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(62 Değerlendirme)
5.5
in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)
5.7
conforti

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde60%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)
3.3
in %bids___i_period_sub_35% gün içinde111%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)
2.6
aravindho

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde66%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)
2.2
in %bids___i_period_sub_35% gün içinde200%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
Flamaethe

I am very proficient with Python, and believe I can get this project done quickly and efficiently. I'm quite a creative thinker, adding to the efficiency for how quick the job will be done.

in %bids___i_period_sub_35% gün içinde66%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0