In Advent of code.ipynb, day8, Maybe it should be commands as a

paramater, not just use Input(8)
This commit is contained in:
stephenleeustc 2017-12-20 21:44:53 +08:00
parent 8a82f9afe4
commit f8ec865bcc

View File

@ -959,7 +959,7 @@
"\n", "\n",
"def run(commands, screen):\n", "def run(commands, screen):\n",
" \"Do all the commands and return the final pixel array.\"\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", " interpret(cmd, screen) \n",
" return screen\n", " return screen\n",
"\n", "\n",