I'm going to define a class, and in particular, what I'm going to do, is walk through what that says.
我们碰到了一个问题,这个问题就是,我们想要建立,一个抽象数据类型。
I first had a list of size 8, then 4, then 2, but then I had another problem of size 2.
首先是一个有8个元素的序列,接着变成了4个元素,接着2个元素,然后我就碰到了有2个元素的另一个问题。
So if you run into a problem set that just, you don't get, all right? Seek help. Could be psychiatric help, could be a TA. I recommend the TA.
所以如果你碰到了一个,你不懂的问题,好么?求助,可以是精神科,可以是一个助教,我推荐助教。
So now I've got an issue all of a sudden.
我碰到了一个问题。
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.
我知道这对你们中的大多数人来说,应该没问题了,好,这儿我碰到了,一个严重的问题,我们看看,一堆参数。
And I have to admit, I did the standard thing you do every time you run across something you don't know about, you go to Wikipedia.
额外的名为self的变量,那么什么是self呢?,我需要承认,我做了大家当碰到,不会的问题都会做的标准的事情。
应用推荐