Figure out how you can make it move a little to the left, a little to the right, up and down and then repeat in some kind of looping structure.
就是找出办法让它向左移动一小步,向右移动一小步,向上一小步,向下一小步,像这样不断重复。
> Right. Just move it to the top; right?
>,对的,把它放到前面去,对不?
It would move to the right all the time.
他的头会总是会歪向右边
It's going to let j run over the length of the list all right, so it's going to start at some point to move down, and then it's going to let i run over range, that's just one smaller, and what's it doing there?
就在这里,会做什么呢?,我们让j遍历这个列表,好的,它要从某一定开始移动,然后让i也跑遍整个范围,就是比之要小一,会发生什么?
应用推荐