I would like help understanding how a Python program that accepts…

Question Answered step-by-step I would like help understanding how a Python program that accepts… I would like help understanding how a Python program that accepts year as a four-digit Arabic (ordinary) numeral and outputs the year in in Roman numerals work?Roman numerals are V for 5, X for 10, L for 50, C for 100, D for 500, and M for 1,000.For instance, some numbers are formed by using subtraction of one Roman “digit”; for example, IV is 4 produced as V minus I, XL is 40, CM is 900, and so on.A few sample years: MCM is 1900, MCML is 1950, MCMLX is 1960, MCMXL is 1940, MCMLXXXIX is 1989. I am thinking about using division and mod? What do you think? Let’s assume the year is between 1000 and 3000. I would then define the following functions (value returning functions):returnRomanThousandsPlace(): Accepts a thousands place integer number as an argument and returns the roman numerals for the thousand place.returnRomanHundredsPlace(): Accepts a hundreds place integer number as an argument and returns the roman numerals for the hundreds place.returnRomanTensPlace(): Accepts a tens place integer number as an argument and returns the roman numerals for the tens place.returnRomanOnesPlace(): Accepts a ones place integer number as an argument and returns the roman numerals for the ones place. OUTPUT:Enter a year between 1000 to 3000: 1952Your number in roman numerals is: MCMLII  Computer Science Engineering & Technology Python Programming C 859 Share QuestionEmailCopy link Comments (0)