Exercise: Roman numbers
- Write a function that will convert Roman numbers to Arabic numbers (integers).
- Enough to handle between 1-3999.
- Try to handle more numbers.
- Write tests.
- Raise an exception if an invalid string is encountered.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help