diff options
-rw-r--r-- | 8.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)), |