The for loop and sequence indexing
for 循环和序列索引
Listing 4. The for loop and a list.
清单4.for循环和list。
Listing 2. The for loop and a tuple.
清单2.for循环和tuple。
Listing 3. The for loop and a string.
清单3.for循环和string。
Do nothing, close your loop and then down here do something.
不做什么,关闭你的循环,然后到这里做点事情。
Listing 2 shows this while loop and the corresponding condition.
清单2显示了这个while循环和相应的条件。
Listing 3 starts the main program loop and reads the synclient output.
清单3将启动主程序循环并读取synclient输出。
Figure 1 shows the basic steps in the loop and how they are related.
图1显示了循环中的各个基本步骤以及它们之间的关系。
Let's close the loop and let's try to figure out the voltage inside this loop.
我们闭合线圈,并试着算出线圈内部的电压。
BuildCanary then goes back to the top of its while loop and waits for the next message.
然后,BuildCanary回到while循环的顶端,等待下一条消息。
This article has discussed the Python for loop and demonstrated some of its many USES.
本文讨论了Pythonfor循环并演示了它的一些使用方式。
This one, with an electro loop and hand claps, doesn't sound as glum as its title portends.
但这首拥有循环电子乐以及拍手声的歌曲,听上去并不像标题预示的那样阴郁。
Can I find a surface that's bounded by this loop and that does not pass through the origin?
能找到一个以该环路为界,且不经过原点的曲面吗?
The StringCreator class enters an infinite loop and creates String objects with the value "hello" at //1.
StringCreator类进入到一个无限循环中并且使用值“hello”在 //1 处创建String对象。
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() 循环中,然后就继续其他操作了。
“There is a huge opportunity for us to create a feedback loop and provide data to consumers,” Ojanpera says.
“对我们来说,这是一个巨大的机会,我们可以创造一个反馈圈(feedback loop)并且为消费者提供数据服务,”奥耶佩拉说。
Developers working on UI design should try to understand the OODA loop and use it in the initial design of the UI.
负责UI设计的开发人员应当尝试了解ooda循环,并将它用在UI的初始设计中。
The loop and the test are very explicit in Listing 3, whereas in Listing 2 they are done implicitly by the processor.
清单3中的循环和测试非常明显,而在清单2中是由处理程序隐含完成的。
All four variables are declared outside the loop and therefore have excessive scope even though they're only used inside the loop.
所有这四个变量都是在循环外声明的,尽管它们仅在循环内部使用,但作用域不止于此。
Next comes loop which simply creates a loop and then react which has case statements that are used to handle incoming messages.
接下来进入到循坏,这里只是简单的创建一个循环并有一个case语句用来处理到来的消息。
That one scene is worth all the extra worthless scenes in the movie and I could put it on a loop and watch it for 90 minutes straight.
这一段情节就抵得上这部电影其他那些没意思的段子了,我简直能把它反复看上整90分钟。
Once you observe the result of the action, you feed back this information to the beginning of the loop and start the process over again.
当您观察到行动的结果后,您会将这一信息反馈到循环的开始处,然后开始新一轮的循环。
It then iterates over the elements in the response, processing each one using a foreach loop and retrieving the information shown in Figure 1.
之后,它对此响应内的全部进行迭代,用foreach循环对每一个进行处理并检索信息,如图1所示。
One by one, each of the eight birds pulled sharply upward into a full loop and flew all the way around to a dead-slow stand-up landing on the sand.
八只海鸥,一个接一个,陡直向上跃升,翻了个斤斗,又兜了个圈子,以极慢的速度,直立着降落在沙滩上。
The GOTO label statement can unconditionally exit from a loop and transfer control to the executable statement or statement block that follows the specified statement label.
GO TO标签语句可以无条件地退出循环,并将控制权转移到跟在指定的语句标签之后的可执行语句或语句块。
The key is that the loop and network sockets need a lot of management code to ensure that you are listening, updating, and controlling the different connections and interfaces.
关键在于循环和网络套接字需要大量管理代码,这样才能监听、更新和控制不同的连接和接口。
Dr Flor believes that, by removing the reinforcement loop and bringing in so-called pain-incompatible memories, traces of pain in the brain can be reduced or even extinguished.
福罗博士相信如果消除了强化环路,并引入所谓与疼痛不相容的记忆,那么疼痛在脑中的记忆痕迹会减少甚至消失。
The application then exits this loop, and continues operation as normal.
然后,应用程序退出该循环,并继续常规操作。
Enabling teams and individuals to break out of this "infinite loop" and achieve substantial net productivity gains is the change we're making today.
使团队和个人打破这个”无限循环“并实现真实纯粹的生产力的收获是我们今天要做的变化。
Enabling teams and individuals to break out of this "infinite loop" and achieve substantial net productivity gains is the change we're making today.
使团队和个人打破这个”无限循环“并实现真实纯粹的生产力的收获是我们今天要做的变化。
应用推荐