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

Method __init__

geometry/geometry.py:277–278  ·  view source on GitHub ↗
(self, side_length: float)

Source from the content-addressed store, hash-verified

275 """
276
277 def __init__(self, side_length: float) -> None:
278 super().__init__(side_length, side_length)
279
280 def perimeter(self) -> float:
281 return super().perimeter()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected