rome
rome copied to clipboard
fix transform numbers like 8*
Your lib have some problem with numbers, contain digit 8, for example: python -c "from rome import Roman; print(Roman(8))" IIX I fixed this problem: python -c "from rome import Roman; print(Roman(8))" VIII
2008 as MMVIII http://en.wikipedia.org/wiki/Roman_numerals
Isn't it a bit of a hack that you check for '8'? Isn't there a more general algorithm?