MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / logn_sum

Function logn_sum

example_code/item_039.py:90–92  ·  view source on GitHub ↗
(base, logn_total, value)

Source from the content-addressed store, hash-verified

88
89print("Example 5")
90def logn_sum(base, logn_total, value): # New first parameter
91 logn_value = math.log(value, base)
92 return logn_total + logn_value
93
94
95print("Example 6")

Callers 1

item_039.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected