In Advent of code.ipynb, day8, Maybe it should be commands as a
paramater, not just use Input(8)
This commit is contained in:
parent
8a82f9afe4
commit
f8ec865bcc
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user