diff --git a/leetcode/13.py b/leetcode/13.py index e7229d8..2a857d0 100644 --- a/leetcode/13.py +++ b/leetcode/13.py @@ -2,7 +2,7 @@ class Solution: - def remanToInt(self, s: str) -> int: + def romanToInt(self, s: str) -> int: roman_map = {"I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000} num = 0 prev_value = 0