From f8ec865bcc7fb48bee356cb720023c3dd8920fcf Mon Sep 17 00:00:00 2001 From: stephenleeustc Date: Wed, 20 Dec 2017 21:44:53 +0800 Subject: [PATCH] In Advent of code.ipynb, day8, Maybe it should be commands as a paramater, not just use Input(8) --- ipynb/Advent of Code.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipynb/Advent of Code.ipynb b/ipynb/Advent of Code.ipynb index 812fe73..a7d67cf 100644 --- a/ipynb/Advent of Code.ipynb +++ b/ipynb/Advent of Code.ipynb @@ -959,7 +959,7 @@ "\n", "def run(commands, screen):\n", " \"Do all the commands and return the final pixel array.\"\n", - " for cmd in Input(8):\n", + " for cmd in commands:\n", " interpret(cmd, screen) \n", " return screen\n", "\n",