MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

divide_and_conquer/convex_hull.py:48–49  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

46 """
47
48 def __init__(self, x, y):
49 self.x, self.y = float(x), float(y)
50
51 def __eq__(self, other):
52 return self.x == other.x and self.y == other.y

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected