It has a test in it, which is that while, while something is true, do something, but I want to keep doing it.
也有个测试在里面,也就是那个当,当一件事情为真的时候,做一些操作,但是我想一直进行判断。
But if you start paying regular dividends, then you better keep doing them or people are going to conclude that something is really wrong.
但你一旦开始定期分红,就最好一直继续下去,不然人们就会得出运转不善的结论
In this case, it's cutting up from the bottom end, which makes sense because the thing I'm looking for is always bigger than the midpoint and then, I don't know, let's pick something in between. Somebody want-- ah, I keep doing that-- somebody like to give me a number?
排除元素,这是讲得通的,因为我总是找比中点大的元素,那让我们挑一个同,中点之间的元素吧,我再来试试,谁给我个数字吧,我知道你们想给我些其他东西?
Suppose you want to train somebody to do something and you want the training such that they'll keep on doing it even if you're not training them anymore, which is typically what you want.
假设你想训练某人做某事,你想要找到一种训练方法,使得他们即便不再接受训练,也依然能够持续展现某种行为,而这正是你想要的。
Ah ha, it goes into that accept portion, prints out a message, and goes back around the while loop to say try again. And it's going to keep doing this until I give it something that does serve as a float.
他会说输入一个浮点数,啊哈,它就到了那段处理代码,打印出消息,然后回到while循环让我们再输一次,它会持续这么做直到它接受到一个浮点数。
应用推荐