Roman numerals 罗马数字的题目, 注意几个关键的数字即可: (100, 400, 500, 900) -> ('C', 'CD', 'D', 'CM'); (10, 40, 50, 90)->('X', 'XL', 'L', 'XC') 1 def checkio(data): 2 rel = '' 3 4 thonsand = data / 1000 5 rel += thonsand * 'M' 6 7 data %= 1000 8 9 table = [['C', 'CD'…