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

Class Point

example_code/item_056.py:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50print("Example 1")
51class Point:
52 def __init__(self, name, x, y):
53 self.name = name
54 self.x = x
55 self.y = y
56
57
58print("Example 2")

Callers 1

item_056.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected