Uppercase X should be lowercase x
This commit is contained in:
Jeroen Van Goey 2017-12-04 10:02:48 +01:00 committed by GitHub
parent 7cb53ef37a
commit bc2a23fcd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@
" \"The eight neighbors (with diagonals).\"\n",
" x, y = point \n",
" return ((x+1, y), (x-1, y), (x, y+1), (x, y-1),\n",
" (X+1, y+1), (x-1, y-1), (x+1, y-1), (x-1, y+1))\n",
" (x+1, y+1), (x-1, y-1), (x+1, y-1), (x-1, y+1))\n",
"\n",
"def cityblock_distance(p, q=(0, 0)): \n",
" \"City block distance between two points.\"\n",