Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Roman Numerals by AmaroVita
def checkio(data):
r=' I II III IV V VI VII VIII IX X XX XXX XL L LX LXX LXXX XC C CC CCC CD D DC DCC DCCC CM M MM MMM'.split(' ')
return ''.join([
r[data//1000%10+30],
r[data//100%10+20],
r[data//10%10+10],
r[data%10]
])
Feb. 24, 2015
Comments: