MCPcopy 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
107print("Example 8")
108def flip_is_tails():
109 return flip_coin() == "Tails"
110
111
112print("Example 9")

Callers 2

item_023.pyFile · 0.85
repeated_is_tailsFunction · 0.85

Calls 1

flip_coinFunction · 0.85

Tested by

no test coverage detected