海底的磷必须找到某种方式回到表面,以完成这个循环,从而重新开始这个循环。
The phosphorus at the bottom of the ocean has to somehow make its way back to the surface, to complete the cycle, to begin the cycle all over again.
最后,这个GC循环的完成花了459 ms。
函数式编程中,传统语言中用循环完成的多数任务都可以使用递归来完成。
In functional languages, most tasks that are accomplished with loops in traditional languages are instead accomplished with recursion.
And then the last thing I want to do, is just decide, you know, what do I do when I'm done.
决定,你知道的,当我完成循环后去做什么。
But that little short hand there is doing exactly the same thing. It is adding that value into some digits and putting it back or signing it back into some digits. And I'll walk through that loop and when I'm done I can print out the total thing does. And if I do that, I get out what I would expect.
加上得到的这个数的,但是这个缩写声明其实是进行了同样的操作,它把我们得到的这个数加到一个数上面去,然后用和对这个数进行了重新赋值,在循环中会去遍历字符串,当完成循环后,程序会显示数字的总和,如果我运行,这个程序的话,我会得到我期待的结果。
So first time through the loop, the answer is a. Second time it-sorry, as it enters the loop, at the time it enter exits a the answer is a.
当第一次完成循环的时候,答案是a,第二次,对不起,在第一次进入循环的时候,答案就是。
应用推荐