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

Class Float

example_code/item_050.py:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234print("Example 14")
235try:
236 class Float:
237 def __init__(self, value):
238 self.value = value
239
240
241 print(my_pretty(Float(5.678)))

Callers 1

item_050.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected