From daf897cea2233c12a81e244eb9accf54bdc03aaa Mon Sep 17 00:00:00 2001 From: David Ashby Date: Mon, 13 Dec 2021 20:12:13 -0500 Subject: [PATCH] document interables --- 13/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/13/main.go b/13/main.go index 787d826..7c270fe 100644 --- a/13/main.go +++ b/13/main.go @@ -120,8 +120,8 @@ func partTwo() { } } // print letters - for y := 0; y < 6; y++ { - for x := 0; x < 5*8; x++ { + for y := 0; y < 6; y++ { // six units tall + for x := 0; x < 5*8; x++ { // 5 units wide, 8 letters if _, ok := points[point{x: x, y: y}]; ok { fmt.Printf("#") } else {