一个激发学习Python兴趣的课外阅读,下面是standford的python教程
https://compedu.stanford.edu/karel-reader/docs/python/en/intro.html
还有一个Java版本的
http://web.stanford.edu/class/archive/cs/cs106a/cs106a.1186/assn/karel.html
简单说就是数组越界
https://compedu.stanford.edu/karel-reader/docs/python/en/chapter6.html
其他资料
https://wiki.c2.com/?FencePostError
https://icarus.cs.weber.edu/~dab/cs1410/textbook/3.Control/fencepost.html