MCPcopy Index your code
hub / github.com/geekcomputers/Python / addToList

Method addToList

Grocery calculator.py:16–17  ·  view source on GitHub ↗
(self, item, price)

Source from the content-addressed store, hash-verified

14 self = {}
15
16 def addToList(self, item, price):
17 self.update({item: price})
18
19 def Total(self):
20 total = 0

Callers 1

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected