Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ get_coupon_codes
Function
get_coupon_codes
example_code/item_006.py:139–140 ·
view source on GitHub ↗
(user)
Source
from the content-addressed store, hash-verified
137
138
print(
"Example 13"
)
139
def
get_coupon_codes(user):
140
return
[[
'DEAL20'
]]
141
142
(a1,), = get_coupon_codes(user)
143
(a2,) = get_coupon_codes(user)
Callers
1
item_006.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected