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

Function pretty2r

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

Source from the content-addressed store, hash-verified

60
61
62def pretty2r(a: str, b: str, c: str, d: str) -> str:
63 if b in (c, d):
64 a, b = b, a
65
66 if a == d:
67 c, d = d, c
68
69 return f'{a} {b} {c} {d}'
70
71
72def pretty2a(a: str, b: str, c: str, d: str) -> str:

Callers 1

prettyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected