• A common programming error is failure to set new values for loop variables in corner cases that are rarely used and tested.

    极少使用测试的不重要情形疏忽循环变量设置常见程序设计错误

    youdao

  • For loop conformance, consider the code snippet in Listing 3.

    对于循环一致性可以考虑清单3中的代码片段

    youdao

  • The next for loop processes just the HTTP links only.

    接下来HTTP链接进行循环处理

    youdao

  • Steps [3] and [4] are repeatedly executed in a for loop.

    第[3][4]步可以再循环重复执行

    youdao

  • We leave it as an exercise to the reader to rewrite the outermost for loop in a more elegant fashion.

    我们留给读者一个练习更好形式重写循环的外层。

    youdao

  • All you're doing is promising the compiler that the argument passed to the function will be at least that large; some machines might use this for loop unrolling.

    这样编译器保证传递那个函数参数至少那么有一些机器可能会以此来拆解循环。

    youdao

  • The for loop then repeatedly calls the.next method of this iterator until it encounters a StopIteration exception.

    然后for循环反复调用这个迭代器. next方法直到遇到StopIteration异常为止。

    youdao

  • That's why the main test method in Listing 1 USES a while loop instead of a new for loop.

    就是为什么清单1中的main测试方法使用while循环而不是一个新的for循环。

    youdao

  • Now, even though the "for" loop is a very powerful construct, it is often prone to misuse.

    现在尽管for循环一个非常强大的结构但它经常被滥用

    youdao

  • Most of the time, we just slap Iterator inside a for() loop or enhanced for() loop and move on, so to speak.

    可以这么大部分时间我们只是Iterator 随意放到for()循环加强 for() 循环中,然后继续其他操作了。

    youdao

  • A while loop will rarely include the number of iterationsunless it is a for loop in disguise.

    while循环很少包含迭代次数——除非一个伪装for循环。

    youdao

  • The first for loop in AlignAssignments() determines the column in which the assignment operators should be aligned.

    AlignAssignments()中的第一个for循环判断其中赋值运算符应当对齐的

    youdao

  • This example USES two for loops. The outer for loop takes care of each row in The Times table, and the nested for loop takes care of the columns within each row.

    使用两个for循环外面for循环关注乘法中的嵌套for循环关注每行内

    youdao

  • There's more: the for loop can be utilized to iterate over any object that supports the iteration metaphor, which makes the for loop very powerful.

    还有更多信息for循环可以用于迭代支持迭代metaphor任何对象使for循环非常有用

    youdao

  • With Groovy 1.5, you can either chose the Groovy for / in, or prefer the classical for loop

    Groovy 1.5中,可以选择Groovy的for/in构造,或者经典for循环构造

    youdao

  • The basic syntax of a for loop is shown in Listing 1, which also demonstrates how to use continue and break statements within a for loop.

    清单1显示for循环基本语法演示了如何for循环中使用continuebreak语句

    youdao

  • The for loop essentially says "for each item element, do the following."

    for循环实际是每个item元素以下事情。”

    youdao

  • You can do this with a very simple for loop, as demonstrated in Listing 7 below.

    可以使用一个非常简单for循环来完成这项任务,如下面的清单7所

    youdao

  • The for loop and sequence indexing

    for 循环序列索引

    youdao

  • The for loop is demonstrated in pseudocode format in Listing 10.

    清单10中的伪代码格式演示了for循环。

    youdao

  • The second for loop only finds lowercase vowels as it iterates over the original string.

    第二for 循环迭代原始 string 时查找小写元音字母

    youdao

  • The second for loop shown in Listing 2 also iterates over all elements in the tuple.

    清单2显示第二for循环迭代tuple中的所有元素。

    youdao

  • The for loop iterates over the list of substrings, printing out each substring and its length.

    for 循环迭代子字符串 list打印每个字符串及其长度。

    youdao

  • The Python for loop may seem odd if you've ever used another programming language.

    如果其他编程语言,Pythonfor循环可能看起来有点儿古怪

    youdao

  • Up to this point we've been traversing the record store with a simple for loop.

    至此我们已经使用一个简单for循环遍历记录存储

    youdao

  • I used one unsupported list comprehension in my code, which I had to unroll into a regular for loop.

    代码中使用不支持列表,将其放入普通for循环。

    youdao

  • When you click Enter, the CDT produces generic code representing the chosen type of for loop.

    单击Enter,CDT会生成代表for循环已选定类型通用代码

    youdao

  • This article has discussed the Python for loop and demonstrated some of its many USES.

    本文讨论Pythonfor循环演示了一些使用方式。

    youdao

  • Simply put, the for loop lets you iterate through the items in a collection of objects.

    简单地,使用for循环,可以迭代中对象集合项目

    youdao

  • Here's an example of a for loop written on the fly (shown in Listing 19).

    下面即时编写for循环示例(清单19)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定