This commit is contained in:
Mark Pilgrim
2009-07-29 14:32:07 -04:00
parent a06decc814
commit 839255ef42
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -653,7 +653,7 @@ FAILED (failures=2)</samp></pre>
result = 0
index = 0
for numeral, integer in romanNumeralMap:
while s[index:index+len(numeral)] == numeral: <span>&#x2460;</span>
while s[index:index+len(numeral)] == numeral: <span class=u>&#x2460;</span>
result += integer
index += len(numeral)
return result</code></pre>