MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / pretty2a

Function pretty2a

pretty.py:72–79  ·  view source on GitHub ↗
(a: str, b: str, c: str, d: str)

Source from the content-addressed store, hash-verified

70
71
72def pretty2a(a: str, b: str, c: str, d: str) -> str:
73 if b in (c, d):
74 a, b = b, a
75
76 if a == d:
77 c, d = d, c
78
79 return f'{a} {b} {c} {d}'
80
81
82def pretty_angle(a: str, b: str, c: str, d: str) -> str:

Callers 1

prettyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected