- So this commands, number two here -- can someone just quickly translate into the English what it is doing for us? Yeah?
所以这个命令,在这里的第二个-,你们谁能快速地把它翻译成,英语来说明这是干什么的吗?,请说?
So it's definitely also like a touristic attraction just to check out what the people are doing as well.
看看那里的人在干什么也其实就是一个景点了。
This is on purpose, because one of the things I hope you have learned to do this semester, is look up things you don't know, and figure out what they do. What they mean.
我举这个程序是有目的的,因为我希望你们这续期能学到,如何去查找你不知道的东西并,且弄懂它,们是干什么的,是什么意思。
Because if the change was not possible on the individual level, ? on the society level,why am I doing what I am doing?
因为如果从个人层面或社会层面来说,改变都是不可能的,那我在这里干什么?
- So what's for all this function -- what's the role of this function in life?
这个函数是干什么的-,这个函数的最终角色是什么呢?
I want to clarify just what it is that banks do.
我想讲一下银行到底是干什么的
There are no less than twenty pages devoted to the critical debate on these two lines: what the hell Saint Peter's two-handed engine is, what it looks like, what it does, what -- and everything about it.
集中描写这两行里的争论的,不少于20页:,圣彼得的双手引擎到底是什么,长什么样,用来干什么-和关于它的所有所有。
What do you do the rest of the time? Just push?
剩下的时间你会干什么,就是推吗
Just click on their page, click on their info, see what they’re doing now.
进入朋友的主页,点击他们的信息,
就能看到他们在干什么。
What's going on today with all these people dressed up and everything?
今天发生什么事了?这些打扮成这样的人在干什么?
I don't really know what I do in my free time in London.
我真的不知道,在伦敦我没事的时候该干什么。
So it isn't that Hitchcock is not capable of writing of subtlety He knows everything he does.
所以不是希区柯克,不能写出很微妙的东西,他知道他在干什么。
My guess is they don't even really have a reference for what a chaplain is.
我想他们应该也不大了解,教士到底是干什么的吧。
Does anyone know what was lithium's used for?
有人知道锂是用来干什么的吗?
What am I doing? Taking its parts apart.
我在干什么,把它的各部分分开。
whatever you're doing, I think that's what I would advise.
不管你在干什么,我想这些就是我的建议。
it's looking first to see am I in the base case, which I'm done. If I'm not I'm just going to reduce this to a smaller computation.
注意这个计算是干什么的,它先判断我是否属于基础事件,这个我已经做过了。
It's words to you, or to the reader of the code, that are telling you what's going on inside of this code. OK?
注释是一些对你,或者对代码阅读者说的一些话,告诉你这段代码,是干什么的,对不对?
What does it expect as input, and any other information I want to pass on.
但是如果我去做了,我将要说明这个函数是干什么的。
Because we obviously can't, in any course, or even any set of courses, tell you everything you'll ever want to know in life we've seeded some things in this program that will be unfamiliar, so during the time you're studying the program, get online, look it up, figure out what they do.
因为在任何一门课上或者几门课上,我们都不可能告诉你,所有你想知道的事情,我们在这个程序中,加上了一些你们不熟悉的东西,所以在你们研究这个程序的时候,你们可以上网找资料,弄懂它是干什么的。
I mean, isn't it somewhat inefficient to load it really deep, because I assume if a spear is only six feet long, what are people in the back going to be doing?
我觉得,过于厚实的方阵会影响效率,据我所知,长矛也就六尺来长,那站在方阵后方的战士都在干什么呢
There's one more piece that we'd like to get out of that, and that is-- you may have been wondering, what's with the funky stuttering here of three double-quotes in a row. All right? And that is a specification.
但是你没有屏蔽这个函数的使用细节,在这里我们还想再讲一讲,那就是--你可能正在想,这里连续3个奇怪双引号,是干什么用的。
So, I'm getting a string and so what really am I doing in this line of code?
那么,我得到一个字符串,这行代码实际上是干什么的呢?
Right now it's got that second key word there called pass, which is just Python's way of saying there's an empty body in here.
现在我在完善它的一个简单部分,但是首先,类是用来干什么的呢?,把类认为是可以创建一个。
It, too, is pretty short, but take a look at what this one does.
它也很短,但先看看,这个是干什么的。
Look, part of the reason I'm flaming at you is, something like square root, it seems dumb to write specs on it. Everybody knows what this is going to do. But you want to get into that discipline of good hygiene, good style.
也是非常重要的,我在这里说的,一些理由就是像平方根,为它写规范听上去很傻,每个人都知道它是干什么的。
So, what are we really doing in this line of code here?
那么,这一行代码是干什么的呢?
OK, once it gets to the end of that, what's it going to do? It's going to come down here and, oh. What's that doing? Well I cheated when I started. I said, somebody's giving me a perfect square, I'm looking for the square root of it. But suppose 15 I gave this thing 15, and asked it to run.
好,一旦到了循环的最后,程序会去做什么?程序会跳到这里来,噢,这是干什么的?好吧,当我开始的时候我有点小作弊的意思,我说过,我得到了一个完美的平方数,我要求这个数的平方根,但是假设下我得到的数是。
So what does this line of code do?
这一行代码是干什么的啊?
应用推荐