MCPcopy 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
59def flip_is_heads():
60 return flip_coin() == "Heads"
61
62
63print("Example 2")

Callers 2

item_023.pyFile · 0.85
repeated_is_headsFunction · 0.85

Calls 1

flip_coinFunction · 0.85

Tested by

no test coverage detected