Reverse Roman Numerals
Created on Dec. 22, 2018 by Julien Palard
Write a function named from_roman_numeral that return the value of a given roman numeral.
Example
>>> print(from_roman_numeral("V"))
5
>>> print(from_roman_numeral("XX"))
20
>>> print(from_roman_numeral("DCCC"))
800
>>> print(from_roman_numeral("MMMM"))
4000
There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
- Ctrl-Enter: Send your code to the correction bot.
- Escape: Get back to the instructions tab.