• Continue must be in a loop (e.g., for, do, while). It cannot appear in case constructs.

    continue一定for,do,while这些循环中,而不能实例构建出现

    youdao

  • For a while loop, however, this means the code in the else clause is executed once, after the loop is terminated (see the pseudocode shown in Listing 7).

    但是对于while循环意味着循环终止else子句中的代码执行一次(参见清单7中的伪代码)。

    youdao

  • The for loop now iterates through the copy, while you're modifying the original list.

    现在for 循环将迭代副本对原始 list进行修改

    youdao

  • The while loop (like the for loop introduced later in this article) supports three additional statements

    while循环本文后面介绍for 循环一样)支持三种附加语句

    youdao

  • Seeking needs to be turned off, if even for a little while, so that the system does not run in an endless loop.

    搜寻需要关掉即使小会从而使我们系统不会无休止的循环下去。

    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 instinctively, prefer the for loop or the while loop?

    现在凭感觉你们喜欢for循环还是while循环?

    youdao

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

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

    youdao

  • For instance, you can see that any time the if condition is true, the nested while loop will execute at least one time (because the list length will be greater than zero).

    例如可以看到每当if条件真的时候嵌入其中while循环至少执行(因为list长度肯定大于0)。

    youdao

  • At the end of the day, you can implement the exact same program using a while loop that you can using a for loop, it's just your code is going to look slightly different.

    最终可以执行这个程序,再使用for循环地方使用while循环,只是使代码看起来稍微有点不同

    youdao

  • Because the for loop hands me placeholders in between those semicolons for variables and such, now I don't have those with while loops.

    因为for循环提供了为变量准备的占位符,它们分号之间现在while循环中,没有这些

    youdao

  • For each line of data returned by the data source, the while loop will take in the line as an object, and spit out a Zip tag with all the data in the database (see Listing 1).

    对于数据源返回每行数据while循环将该行做为对象被调用,并且输出所有数据都在数据库中的Zip标记(请参阅清单1)。

    youdao

  • Notice how this method accounts for possible weak references in the queue with the do-while loop.

    请注意方法如何do -while循环来处理队列可能存在引用

    youdao

  • Instead, the program enters a while loop waiting for new connections.

    相反程序进入一个while循环,等待新的连接。

    youdao

  • A while loop then iterates through the dataset, storing the information in a convenient array for later display.

    然后while循环迭代数据集,一个方便的数组中存储信息以便将来进行显示。

    youdao

  • Substep 3-2 is to run a while loop for each item in the list.

    子步骤3 - 2清单中的每一产品运行while循环。

    youdao

  • The contents of the new while loop are expanded for view.

    while循环内容展开以供查看。

    youdao

  • V6.2 offers a new feature to automatically perform these steps for you. To move a set of tasks into a while loop, do the following.

    提供一个功能可以自动执行这些步骤

    youdao

  • Our diagram for the while loop contains both a condition and an asterisk, signaling iteration, but as you can see the number of iterations is unavailable.

    我们while循环包含条件,又包含表明迭代星号发现,没有迭代的次数

    youdao

  • For this purpose, I have used a do-while loop that continues dividing the value integer by 256 until the value drops below 1.

    为此使用一个do -while循环,它不断地value整数除以256,直到得到小于1。

    youdao

  • Listing 7. Pseudocode for the while loop.

    清单7. while循环伪代码。

    youdao

  • This article has introduced three Python program statements: the if statement, the while loop, and the for loop.

    本文介绍三种Python程序语句if语句、while循环for循环。

    youdao

  • The upper half of this figure shows the three modeling elements to represent a while loop, a do-while loop, and a for loop.

    上半部分显示三种建模元素,分别表示while loop、do-while loop for loop

    youdao

  • Looping statements (WHILE, LOOP, for example) must not that contain FETCH statements.

    循环语句(例如WHILELOOP)不能包含fetch语句。

    youdao

  • BuildCanary then goes back to the top of its while loop and waits for the next message.

    然后,BuildCanary回到while循环顶端等待下一条消息。

    youdao

  • The diagram for the while loop is shown in Figure 6.

    6显示while循环

    youdao

  • When things go wrong the pessimist tends to blame himself, while the optimist looks for loop holes.

    错误时悲观主义者倾向责备他自己乐观主义者寻找漏洞。

    youdao

  • When things go wrong the pessimist tends to blame himself, while the optimist looks for loop holes.

    错误时悲观主义者倾向责备他自己乐观主义者寻找漏洞。

    youdao

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

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

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