OK? So you can see that, it's just walking through it, and in fact if I look at a couple of another-- another couple of examples, it's been a long day, again, you can see that property.
恩,其实你能看到,他就是遍历列表,你要有空的话,可以再看很多很多其他的例子,你能够看到这个属性。
OK, what I would like you to see is I've been printing out, as I went along, actually let's back up slightly and look at the code. There's merge sort.
好的,我想让你们看就是我运行过后,打印出来的结果,我们再回头看一下这段代码,这就是归并排序,输入一个列表。
OK, here we go, here we go, you see, I'm doing it down here, I can't see it, does that-- ah, I hear his sighs of relief, OK, good. There we go. Better. All right.
好,我们开始,大家可以看到,我在这里写这个程序,我看不见,这是不是-啊,我听到大家放松的叹气了,好,让我们开始吧,好多了,好。
OK. And I'm going to look to see, is a particular element inside of that list, and again, I'll remind you, that's just giving me the integers from zero up to 9999 something or other.
一个又大又长的列表吧,好的,我打算查找列表中的一个特定元素,我会告诉你,我用的是0到大概是,9999左右的整数。
I know, for a lot of you, it's like, OK, I got a heavy problem. Let's see, def Foobar open paren, a bunch of parameters.
我知道这对你们中的大多数人来说,应该没问题了,好,这儿我碰到了,一个严重的问题,我们看看,一堆参数。
chickens OK, and then once I've got that, well, notice: I can then check to see, did I return that special symbol none?
第二部分是:,现在一旦我获得了这两个值,注意,我将再检查一下?
OK, let's see what happens if I do this.
我这里的稍后要用的。
OK, and if I wanted to look at it, we can come back over here, and we can see what does c p 1 look like, interesting.
现在对于这里的每个实例,我都赋了x和y值,好,那么如果我想要研究下它,我们可以回到这里来。
应用推荐