Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
Grocery calculator.py
File · 0.80
Calls
1
update
Method · 0.45
Tested by
no test coverage detected