Skip to content

Commit f0f941b

Browse files
committed
- modify brick list
1 parent a27fc26 commit f0f941b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter-07-working_with_lists_and_reading_data/breakout_level/breakout_level.pyde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ translate(0, bh)
3737
for row in bricks:
3838

3939
for col, brick in enumerate(row):
40-
x = col * bw
4140

4241
if len(brick):
42+
x = col * bw
4343
fill(brick[0])
4444
rect(x, 0, bw, bh)
4545

0 commit comments

Comments
 (0)