网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 While loop
释义

While loop

原声例句
科技 Crash Course

One way is a while statement, also called a while loop.

一种方法是 while 语句,也称为 while 循环。

DEFCON Collection

In the first loop, this again is a while loop.

在第一个循环中,这又是一个 while 循环。

DEFCON Collection

It does this in this while loop.

它在这个 while 循环中执行此操作。

CS50

A while loop checks the condition first and then does something instead.

while循环首先检查条件,然后执行一些操作。

科技 Crash Course

We've hit the end of the while loop, which jumps the program back up.

我们已经到达了 while 循环的结尾,它使程序跳回原处。

科技 Crash Course

To animate him replenishing our stock back up to a maximum of 4, we can use a while loop.

为了让他将我们的库存补充到最多 4 个,我们可以使用 while 循环。

DEFCON Collection

And if that message actually tells you to jump to some code, you break out of this outer while loop.

如果该消息实际上告诉您跳转到某些代码,您就会跳出这个外部 while 循环。

科技 Crash Course

When we enter the while loop, the first thing the computer does is test its conditional… is relays less than 4?

当我们进入 while 循环时,计算机做的第一件事就是测试它的条件… … 继电器是否小于 4?

PKM OS

Then bash also has control flow techniques that we'll see later, like for loops, while loops, and one main thing is you can define functions.

然后 bash 还具有我们稍后会看到的控制流技术,例如 for 循环、while 循环,其中一件主要的事情是您可以定义函数。

Mosh带你学编程

In this tutorial, I'm going to talk to you guys about for loops in python. In the last tutorial, you learned about while loops you learned that we use while loops to execute a block of code multiple times.

在本教程中,我将与大家讨论 python 中的 for 循环。在上一个教程中,您了解了 while 循环,您了解到我们使用 while 循环多次执行一段代码。

PKM OS

You can also do things like while loops, for loops, conditionals... All of these - you can define functions, you can have variables, and all of these things you can do in the shell.

您还可以执行 while 循环、for 循环、条件语句等操作...所有这些 - 您可以定义函数、可以拥有变量,以及所有这些操作都可以在 shell 中执行。

中文百科

While循环

while 循环

在编程语言中,while循环英语:while loop)是一种控制流程的陈述。利用一个返回结果为布林值(Boolean)的表达式作为循环条件,当这个表达式的返回值为“真”(true)时,则反复运行循环体内的代码;若表达式的返回值为“假”(false),则不再执行循环体内的代码,继续执行循环体下面的代码。

因为while循环在区块内代码被运行之前,先检查陈述是否成立,因此这种控制流程通常被称为是一种前测试循环(pre-test loop)。相对而言do while循环,是在循环区块运行结束之后,再去检查陈述是否成立,被称为是后测试循环。

英语百科

While loop While回圈

While loop flow diagram

In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. The while loop can be thought of as a repeating if statement.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/22 8:14:29