class Solution(object): def romanToInt(self, s): sum=0 convert={‘M’: 1000,’D’: 500 ,’C’: 100,’L’: 50 … Continue reading 罗马数字转换
class Solution(object): def romanToInt(self, s): sum=0 convert={‘M’: 1000,’D’: 500 ,’C’: 100,’L’: 50 … Continue reading 罗马数字转换