Roman numeral converter
Simple roman numeral parser function in Python.
I had to do one of these in pseudo-code as an interview exercise and decided to write it up in Python and throw it on here.
It has some limitations:
I
, V
, X
, L
, C
, D
and M
.roman_value('IM') == 999
, which I don’t think is typical.