Now come up through the neck loop and down through the loop made by the previous cross at the front of the tie.
现在通过环颈下通过环发前交叉在前面的比赛。
While it could have been written as a loop, the one-line solution is much cleaner that way, and does not slow the program down significantly.
虽然我们本来可以把它写成循环,但是长度只有一行的解决方案要清楚得多,并且不会显著降低程序运行的速度。
Do nothing, close your loop and then down here do something.
不做什么,关闭你的循环,然后到这里做点事情。
Well, we say at the top of the loop, when it goes up and comes down the velocity is 0.
在曲线顶端,当物体上升,然后速度为0时候
The cookies were going back and forth and back and forth and the hearts up and down, well, this thing that we had that called a loop last week with a forever block with a statement inside of it is simply gonna look a little something like this.
这些饼干人来来回回的移动,还有这些爱心们上上下下地漂浮,都用到我们上周提到过的循环结构,当然还有个声明在里面,就有点像屏幕上,显示的这样。
All right, we're-- well actually, I should say that better, we first check to see, is x 0 greater than or equal to zero, if it's not, then we come down here and we print something out, otherwise we run through a little loop to get the answer, and then we check it and we spit something out.
然后我们运行一个小循环,好了,我们现在来看看,如果x≥0或者x<,我们看这儿,我们会输出一些内容,或者我们运行一个小循环来获取答案,然后我们检验一下,然后得到结果。
应用推荐