summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/8.py b/8.py
index 1a55334..77c9072 100644
--- a/8.py
+++ b/8.py
@@ -5,7 +5,7 @@ from enum import IntEnum
fset = frozenset
-Seg = IntEnum('Seg', [(n, str(i)) for i, n in enumerate('ABCDEFG')])
+Seg = IntEnum('Seg', [(n, i) for i, n in enumerate('ABCDEFG')])
dig = [
fset((Seg.A, Seg.B, Seg.C, Seg.E, Seg.F, Seg.G)),