@volcano63
Walking through a list of tuples seem pretty elegant.
Since it not jumping around the list.
Saying something is un-Pythonic. Doesn't make it so.
Changing list to a tuple probably be better. Just because it keeps it all immutable.
Walking through a list of tuples seem pretty elegant.
Since it not jumping around the list.
Saying something is un-Pythonic. Doesn't make it so.
Changing list to a tuple probably be better. Just because it keeps it all immutable.
roman_map = ((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"))But not a must.
99 percent of computer problems exists between chair and keyboard.