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

Method __init__

maths/pythagoras.py:7–10  ·  view source on GitHub ↗
(self, x, y, z)

Source from the content-addressed store, hash-verified

5
6class Point:
7 def __init__(self, x, y, z):
8 self.x = x
9 self.y = y
10 self.z = z
11
12 def __repr__(self) -> str:
13 return f"Point({self.x}, {self.y}, {self.z})"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected