fix name error
This commit is contained in:
parent
d872733763
commit
8307660cfb
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class Solution:
|
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}
|
roman_map = {"I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000}
|
||||||
num = 0
|
num = 0
|
||||||
prev_value = 0
|
prev_value = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user