Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VectifyAI/OpenKB
/ _to_roman
Function
_to_roman
openkb/agent/_markdown.py:254–260 ·
view source on GitHub ↗
(n: int)
Source
from the content-addressed store, hash-verified
252
253
254
def
_to_roman(n: int) -> str:
255
out =
""
256
for
value, numeral in _ROMAN:
257
while
n >= value:
258
out += numeral
259
n -= value
260
return
out
261
262
263
def
_render_blockquote(node: Any) -> Text:
Callers
1
_list_number
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected