So I'm going to solve this by enumerate and check, which is an example of what's called a brute-force algorithm.
你懂的,所以我得靠列举和检验来解决这个问题,这就是我们说的穷举算法。
One of my favorite examples is the colony on the south shore of the Bosporus, which is called Chalcedon.
其中一个我很常举的例子就是,在博斯普鲁斯南部海岸的殖民地,叫做卡尔西顿
You think Bentham is wrong to say the right thing to do is to add up the collective happiness?
你认为边沁是错的吗,他说正确之举就是,增加集体大众的幸福?
The easiest way to look at this is just to do an example.
要想理解这点最简单的方法就是举个例子。
Railroads is a good example--and sometimes I'll throw out examples, you're not responsible for them, it's just kind of hopefully interesting for you to think about.
铁路就是很好的例子,有时我会举一些例子,你们可以不去记他们,我这么做是希望你们可以去思考
We're exhausting all possibilities. And then choosing the winner. Well, that's what the slow thief tried. Unfortunately it took so long that before he finished the owner returned home, called the police and the thief ended up in jail.
我们穷举了所有可能方案,然后选择最优方案,这就是动作慢的贼的方案,不幸的是它在失主回家之前,要花上了太长的时间。
So, what they do is--well, let me give you a couple of examples.
因此,他们做的就是,我来举几个例子
There's another argument descartes could have made that's a lot less subtle than the ones he did make, which is "That thing responsible for free will and love and consciousness?
笛卡尔本可以指出一个,比他所举论据,更为巧妙的论据,也就是,"这东西会是引起自由意志,爱恋,与意识的原因吗
Further down the line, for example, in the blastocyst I talked about before, we could obtain cells from this inner cell mass or this cluster of cells that becomes the embryo.
沿着这条线看,举个例子,就是我之前提到过的囊胚,我们可以取一些内细胞群的细胞,这种能成为胚胎的细胞群
And that's why all those reactions, first of all, in some sense what I put up was kind of a trivial statement in actual fact saying they all happen spontaneously because I didn't specify what we were starting with exactly, what concentrations we were starting with.
首先这就是为什么所有的这些方程,在某种程度上,我举得这些例子说它们自发产生,这是一个琐碎的陈述,因为我没有说明,我们从什么地方开始。
And I can think of one example very concretely of the Pay Center, which when I first got there, was a very different center from what it is now.
我可以举一个具体的例子,就是Pay,Center,我刚去的时候,和现在完全不一样。
And I want to show you one more example of that, in the scene where Humbert and Lolita have reached the hotel, the Enchanted Hunter. This is on page 118 near the bottom.
我想再举一个例子,就是亨伯特和洛丽塔,到达Enchanted,Hunter,饭店的那场,这在118页下面。
OK, you've actually seen exceptions a lot, you just didn't know that's what they were, because exceptions show up everywhere in Python. Let me give you a couple of examples.
好的,你们实际以及看过很多异常了,你就是不知道这些是什么,因为异常在Python中随处可见,我给你举些例子。
应用推荐