Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ get_winner
Function
get_winner
example_code/item_025.py:101–102 ·
view source on GitHub ↗
(ranks)
Source
from the content-addressed store, hash-verified
99
100
print(
"Example 11"
)
101
def
get_winner(ranks):
102
return
next(iter(ranks))
103
104
105
print(
"Example 12"
)
Callers
1
item_025.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected