MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _to_letters

Function _to_letters

openkb/agent/_markdown.py:228–234  ·  view source on GitHub ↗
(n: int)

Source from the content-addressed store, hash-verified

226
227
228def _to_letters(n: int) -> str:
229 result = ""
230 while n > 0:
231 n -= 1
232 result = chr(ord("a") + (n % 26)) + result
233 n //= 26
234 return result or "a"
235
236
237_ROMAN = [

Callers 1

_list_numberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected