void () { doTestByText(""" ROMAN = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000} class Solution: def romanToInt(self, roman: str) -> int: result = 0 for letter in roman: int_value = ROMAN[letter] return 42"""); }