What in the world does that have to do with my divisor example? Well, actually, before I do that let me in fact fill in a piece here.
那么这到底跟我的除数的例子有什么关系呢?,好,实际上,在我讲之前请我先来补充一点,大家还记得我说过,我们可以概念上认为。
for example, for the day, "What do you want to do?" Okay?
比如说,今天“你想做什么呢?”好吗?
The first thing they are supposed to say is good morning or good afternoon, and then they say, what are your questions?
他们应该说的第一件事就是,早上好或下午好,然后会问,你的问题是什么呢?
What went wrong here? Well let's think about it for a second.
这儿出了什么错呢?,好,让我们想想。
So, the father gets a Nobel Prize for showing that an electron is a particle, and the son says, well, what can I do to top that?
他的父亲因为发现电子是粒子,而拿到了诺贝尔奖,那么儿子说,好,我能做些什么超越父亲的发现呢?
It's about something else." Well, what is it about?
好吧,那是关于什么的呢?
Now we're engaging each other, what do I say?
好了我们在缠斗,我下什么命令呢
Okay. What do you mean by that?
好了,你这话是什么意思呢?
Fine. What do you hope to get out of the course?
那好,你希望从这门课里面得到什么呢?
What are some appropriate treatments for stress?
有些什么应对压力的好方法呢?
All right. What does this piece of code say?
好,这段代码什么意思呢?
Think of this as, this is a template for creating instances of an object.
那么上面的东西是什么意思呢?,它的形式看起来挺时髦的,好,它的意思是说。
You'll see why I'm going to make that distinction in a couple of lectures.
为什么我要把这个区分开来,好,那么这跟我的除数例子有什么关系呢?
All right, so what's an example of this?
好了,所以有什么例子呢?
Nothing. OK, so why?
什么也没发生,好吧,那为什么呢?
So one of the questions is, well, what are the right primitives to use?
因此问题之一是,好吧,要使用的正确基本类型是什么呢?
I don't have to put an init in, but it's again, usually a good idea to put that in originally.
类定义内做些什么其他的东西呢?,好,在两个例子里,我都有init声明。
So first thing we should do is scratch our heads and see what's going on here. Alright, let's look at it. What's happening here?
所以我们要做的第一件事,就是抓抓脑袋看看发生了什么,好了,让我们来看看,这儿发生了什么呢?
The order complexity here, if I actually write it would be-- sorry, order n times m, and if m was equal to n, that would be order n squared, and this is quadratic.
如果m等于n的话,也就是n的平方,这是一个平方复杂度的问题,这是和前面不同类型的,好,我在做什么呢?
OK. So what does Python look like?
好,那么Python和什么比较像呢?
STUDENT: It doesn't stop at the right place.
发生什么了呢?好,这位同学。
OK, and what is knowledge?
好了,什么是知识呢?
应用推荐