Skip to content

Commit 60ac92e

Browse files
committed
treat symbols as a constant
1 parent 139f446 commit 60ac92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_089/sol1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
import os
3232

33-
symbols = {"I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000}
33+
SYMBOLS = {"I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000}
3434

3535

3636
def parse_roman_numerals(numerals: str) -> int:

0 commit comments

Comments
 (0)