Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ flip_is_tails
Function
flip_is_tails
example_code/item_023.py:108–109 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
106
107
print(
"Example 8"
)
108
def
flip_is_tails():
109
return
flip_coin() ==
"Tails"
110
111
112
print(
"Example 9"
)
Callers
2
item_023.py
File · 0.85
repeated_is_tails
Function · 0.85
Calls
1
flip_coin
Function · 0.85
Tested by
no test coverage detected