mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
typos
This commit is contained in:
+1
-1
@@ -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>①</span>
|
||||
while s[index:index+len(numeral)] == numeral: <span class=u>①</span>
|
||||
result += integer
|
||||
index += len(numeral)
|
||||
return result</code></pre>
|
||||
|
||||
Reference in New Issue
Block a user