Write a Python program to convert an integer to a roman numeral. Try using this dictionary! roman_dictionary = {1000: "M

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a Python program to convert an integer to a roman numeral. Try using this dictionary! roman_dictionary = {1000: "M

Post by answerhappygod »

Write a Python program to convert an integer to a roman numeral. Try using this dictionary!
roman_dictionary = {1000: "M", 900: "CM", 500: "D", 400: "CD", 100: "C", 90: "XC", 50: "L", 40: "XL", 10: "X", 9: "IX", 5: "V", 4: "IV", 1: "I"}
Ex:
Input
4000
Output
MMMM
COM ACTIVITY 1113.1 LAB. Integer to Roman Numeral 0/0 mapy class conv) def int_to_Moran(self, rannu "Add code here 1 return roman main 10 IT 11 12 13 14 necon int(int) print (Inte) CHI Clear
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply