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

Method Total

Grocery calculator.py:19–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 self.update({item: price})
18
19 def Total(self):
20 total = 0
21 for items in self:
22 total += (self[items]) * 0.07 + (self[items])
23 return total
24
25 def Subtotal(self):
26 subtotal = 0

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected