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

Method interior_angles

example_code/item_062.py:131–132  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

129
130 @classmethod
131 def interior_angles(cls):
132 return (cls.sides - 2) * 180
133
134class Hexagon(BetterPolygon):
135 sides = 6

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected