Question: use the python code Converting Roman to Arabic Now that you are an expert in converting roman numerals to numbers its time to save yourself

use the python code

Converting Roman to Arabic

Now that you are an expert in converting roman numerals to numbers its time to save yourself the trouble and write a program that does it for you. Heres an outline of what you should do.

  1. Ask the user to enter a roman numeral

  2. Validate the number to make sure it follows all the rules. The number in the picture should cause you to print an error message.

  3. If the roman numeral is valid then you should convert it to its Arabic equivalent.

  4. Print out the roman numeral and its Arabic equivalent.

Hint: You will want to start by using a dictionary to map each single character roman numeral to the correct Arabic number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!