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

Method __init__

geometry/geometry.py:127–129  ·  view source on GitHub ↗
(self, radius: float)

Source from the content-addressed store, hash-verified

125 """
126
127 def __init__(self, radius: float) -> None:
128 super().__init__(radius, radius)
129 self.radius = radius
130
131 def __repr__(self) -> str:
132 return f"Circle(radius={self.radius})"

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected