The Roman numeral system is an ancient way of representing numbers. The base symbols are I (1), V (5), X (10), L (50), C (100), D (500) and M (1000).
Questions tagged [roman-numerals]
273 questions
-4
votes
1 answer
Integer To Roman Number
I saw this unfinished code on the internet:
class py_solution:
def int_to_Roman(self, num):
val = [
1000, 900, 500, 400,
?????,
????,
?
]
syb = [
"M", "CM", "D", "CD",
"C",…

John Finkelstein
- 1
- 3
- 7
-4
votes
1 answer
what's the meaning of “amt” in this roman numerals exercise?
i just try to complete this quiz but i can't understand what is doing that "amt" in "romanize" method:
ROMAN_NUMS = {
"M" => 1000,
"CM" => 900, "D" => 500, "CD" => 400, "C" => 100,
"XC" => 90, "L" => 50, "XL" => 40, "X" => 10,
"IX" => 9, …

ELECON88
- 11
- 1
- 4
-4
votes
1 answer
Convert roman to words/number in Perl
I have an input from a file, and I need to convert the roman numerals in the input to words or integers.
In my article there are combination of strings, numbers, roman numbers, but i need only to change the roman to number, i used…

new
- 77
- 2
- 16