Update BASIC.ipynb

This commit is contained in:
Peter Norvig
2024-04-17 17:09:35 -07:00
committed by GitHub
parent 4db4e41ab8
commit b7366db896

View File

@@ -201,10 +201,6 @@
" top = peek()\n",
" if constraint is None or (top == constraint) or (callable(constraint) and constraint(top)):\n",
" return tokens.pop(0)\n",
" \n",
"def remove_spaces(line): \n",
" \"Remove white space from line, except space inside double quotes.\"\n",
" return \n",
"\n",
"def lines(text): \n",
" \"A list of the non-empty lines in a text.\"\n",