THE FOR LOOP in Chinese translation

[ðə fɔːr luːp]
[ðə fɔːr luːp]
for循环

Examples of using The for loop in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
The for loop in Listing 8-9 will add 50 to each element.
示例8-9中的for循环会给每一个元素加50:.
Using the return statement within the for loop ends the function, so the line that is outside of the loop will not run.
在for循环中使用return语句会结束该函数,因此循环外部的行将不会运行。
Look closely: the else clause belongs to the for loop, not the if statement.
仔细看:else子句是属于for循环,而不是if语句.
The for loop on line 13 won't grab any events because they were already processed in the prior loop..
第十三行中的for循环获取不了任何事件因为它们已经被先前的循环处理过了。
Look closely: the else clause belongs to the for loop, not the if statement.
仔细观察:else子句属于for循环,不是if语句。
The for loop takes this value and assigns it to n, then executes the body of the for loop for that value of n.
For拿到该值并赋给n,然后执行n值的for循环体。
C programmers will note that the for loop in Python is similar to the foreach loop in C.
C程序员会注意到,在Python中for循环类似于c中的foreach循环c。
If it is false, the body of the loop does not execute and flow of control jumps to the next statement past the for loop.
如果是false,则循环体不执行和流程控制的跳转到下一个语句过去的for循环
For more insight as to what's happening behind the scenes, the for loop can be rewritten to this.
为了更深入地了解幕后发生的事情,可以将for循环重写为:.
If it is false, the body of the loop will not be executed and control jumps to the next statement past the for loop.
如果是false,则循环体不执行和流程控制的跳转到下一个语句过去的for循环
NumPy can perform complex calculations on entire arrays without the need the For loop of Python.
NumPy可以在整个数组上执行复杂的计算,而不需要Python的for循环
If you need to use the loop control variable elsewhere in your program, you will not be able to declare it inside the for loop.
如果你在程序的其他地方需要使用循环控制变量,你就不能在for循环中声明它。
We can do what's called unpack here and unpack these into tuple form like we have done above with count, row in the for loop.
我们可以做unpack这里所谓的unpack这些,并将它们变成元组形式,就像我们在上面所做count,row的一样forloop
On the first iteration of the for loop, this is equivalent to calling matches_sxz(noun), and if it returns a match, calling apply_sxz(noun).
在第一次for循环的迭代过程中,这相当于调用matches_sxz(noun),如果返回一个匹配值,将调用apply_sxz(noun)。
In this case, fib_iter == fib_inst, because the__iter__() method returns self, but the for loop doesn't know(or care) about that.
本例中,fib_iter==fib_inst,因为__iter__()方法返回self,但for循环不知道(也不关心)那些。
The nesting of the for loops help us obtain the O(n*log(n)).
For循环的嵌套有助于我们获得O(n*log(n)).
The for loop is traditionally used for this purpose.
For循环是传统上用于此目的。
The for loop calls Fib(1000), as shown.
如你所见,for循环调用Fib(1000)。
We have a variable i to control the for loop.
使用了同一个变量i控制循环
A common mistake is to confuse the for loop and the while loop..
一种常见的错误是把for循环和while循环混淆起来。
Results: 1095, Time: 0.0347

Word-for-word translation

Top dictionary queries

English - Chinese