Question
Use meaningful names for variables If there are two words in the variable use first word lowercase and first letter of second wordupper case i.e.,
- Use meaningful names for variables
- If there are two words in the variable use first word lowercase and first letter of second wordupper case i.e., firstName or underscore between 2 words i.e first_name
- Include appropriate comments in the code
- Output should be displayed exactly as mentioned against each problem
- Indent the lines of code appropriately
1.numeric.py
Write a program that prompts the User to enter a number between the range of 1 through 10. The program should display the Roman Numeral version of that number. If the number is outside the the range of 1 through 10, the program should display the error message. The output should display the data in table as shown below:
Hints:
Prompt user to enter for number.
Use a if /elif to vrify the number and display output accordingly.
If the number is out of range, display the following eorro message : ''Error: Invalid Number'.
Output should look like:
Number Roman Numeral
1 I
2 II
3 III
4 IV
5 V
6 VI
7 VII
8 VIII
9 IX
10 X Please use PYTHON for the programming.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started