mirror of
https://github.com/rr-/pq-cli.git
synced 2026-11-12 22:40:36 -07:00
lingo: extend roman numerals past 4000
This commit is contained in:
2 files changed
+17
No files matched your search
@@ -55,6 +55,11 @@ def to_roman(num: int) -> str:
|
||||
ret = "-"
|
||||
num = -num
|
||||
|
||||
while _rome(10000, "T"):
|
||||
pass
|
||||
_rome(9000, "MT")
|
||||
_rome(5000, "A")
|
||||
_rome(4000, "MA")
|
||||
while _rome(1000, "M"):
|
||||
pass
|
||||
_rome(900, "CM")
|
||||
|
||||
Reference in new issue
Block a user