8000 typo · andrewhzhang/python-programming@d685ce5 · GitHub
[go: up one dir, main page]

Skip to content

Commit d685ce5

Browse files
typo
There is a missing comma in the onTable tuples.
1 parent 0afd95b commit d685ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chap11/dieview2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self, win, center, size):
3838
self.__makePip(cx + offset, cy + offset)
3939
]
4040
#Create a table for which pips are on for each value
41-
self.onTable = [ [], [3], [2,4], [2,3,4] [0,2,4,6], [0,2,3,4,6], [0,1,2,4,5,6]]
41+
self.onTable = [ [], [3], [2,4], [2,3,4], [0,2,4,6], [0,2,3,4,6], [0,1,2,4,5,6]]
4242

4343
#Draw an initial value
4444
self.setValue(1)

0 commit comments

Comments
 (0)
0