Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Reverse Roman Numerals by Rounin
def reverse_roman(roman_string):
units = {'I':1,'V':5,'X':10,'L':50,'C':100,'D':500,'M':1000}
out = 0
roman_string = list(roman_string)
for i in range(len(roman_string)):
out += (-units[roman_string[i]] if ((i+1)
July 23, 2017