Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ flip_is_heads
Function
flip_is_heads
example_code/item_023.py:59–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
return
"Tails"
58
59
def
flip_is_heads():
60
return
flip_coin() ==
"Heads"
61
62
63
print(
"Example 2"
)
Callers
2
item_023.py
File · 0.85
repeated_is_heads
Function · 0.85
Calls
1
flip_coin
Function · 0.85
Tested by
no test coverage detected