• The key thing to notice is, I now have the ability to create iterations, which extends well I can do.

    要注意的关键点是,我们现在已经学会如何去创建迭代了,这大大扩展了我们能做的事情的范围。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And I want to show you a little bit more detail of that, so let's create a simple little list here.

    我还想给你们再讲详细些,那让我们创建一个简单的列表吧。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • as we've seen, establishing a fiction that works to place himself at the scene of a nativity that obviously occurs 1600 years and change before his own birth.

    我们也看到了,他创建了一个虚构的景象,把自己放进了基督诞生的幻景中,而这些比他出生早1600年发生并不断在改变。

    耶鲁公开课 - 弥尔顿课程节选

  • And so literally, the company was two years old when we came up with these.

    我们公司创建两年后,就提出了这三个优先。

    斯坦福公开课 - 戴尔CEO-Michael.Dell谈创业和发展课程节选

  • Again we still think in terms of the basic concepts and categories ? that were created for us long ago. Okay?

    但是,我们仍要思考一些基础的,概念和类别,其在很久以前,就已为我们创建了,好吗?

    耶鲁公开课 - 政治哲学导论课程节选

  • This is where as we saw on Wednesday are sprites or our characters.

    我们上周三就是在这个地方,看见精灵或着说我们创建的角色了。

    哈佛公开课 - 计算机科学课程节选

  • And we've been working with them What I will call it prototype; we have not yet done a complete project. But I wanted to show you some pieces of this on slides. So one of the things we've done is create a searchable archive.

    我们与他们合作,我称之为草案,我们还没有完成一个完整的项目,但我想给你们看一些幻灯片,我们做的其中一件事就是,创建一个可搜索的档案馆。

    麻省理工公开课 - 媒体、教育、市场课程节选

  • We'll create a libertarian corner over here.

    我们在那儿创建一个自由主义阵营。

    耶鲁公开课 - 公正课程节选

  • Now I have the ability to say, I've got a new class, I can create instances of a line segment, and it's elements are themselves instances of points. OK?

    这就是我们要讲模块化的地方了,现在我可以说,我创建了一个新类,我可以创建线段的实例了,这些实例的元素?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • We saw, associated with that primitive data, we have ways of taking data in and creating new kinds of data out, or new versions of data out, so we have operations.

    我们可以取得输入的数据然后,创建新的类型的输出数据,或者新的版本的输出数据,这就是我们说的操作。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Constant. Ooh, constant says, no matter what the length of the list is, I'm going to take the same amount of time.

    这个算法用的时间是相同的,我不这么认为,如果我们创建一个十倍于以前大小的数组。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Remember we said we design lists so that the access, no matter where it was on the list was of constant time.

    记住我们说过我们创建了,一个列表它就是这么访问的,无论它在列表的哪个位置。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Is is essentially saying, given 2 things, do they point to exactly the same referent?

    或者换种思考的方式,大家记得我说过当我们,调用类的定义声明的时候,它会创建一个实例?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • All right? So I've created this function let's give it a shot and see what happens.

    好,大家看到我已经创建这个函数了,让我们试试看怎么样。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So we're going to assign to each stock, when we create it, a distribution.

    所以我们创建每只股票时,要给它们指定一中概率分布。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Now I have the ability to create a loop, that is, to reuse the same pieces of code over and over again as I go around.

    现在我们已经学会如何创建循环了,也就是,重复的一遍又一遍的,执行同一片代码。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And I want to have that because I want to have lots of versions of points.

    我想要这么做因为,我想要创建很多点,好,现在让我们回到。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So in fact what happens inside of an object-oriented system, and particularly in init Python's object-oriented system, is the following.

    面向对象系统的内部,尤其是在Python的面向,对象系统的内部的过程,就是如下的,当我们调用,它会去创建一个实例。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • All right. What does this have to do with my divisor example? This says I can make tuples, but imagine now going back to my divisor example and I want to gather up the elements as I go along. I ought to be able to do that by in fact just adding the pieces in.

    这意味着我可以创建元组了,但是想像下回到我们的除数的例子,在处理过程中我们想把目标数的除数,收集起来,我应该能够通过把这些数,一个一个加进来来实现这个目的,我正是要去这么做,也就是。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • OK. And how do I create them? Well, the representation is, following a square bracket, followed by a sequence of elements, separated by commas, followed by a closed square bracket.

    就是一个有序的序列,好,那么我们怎么创建元组呢?,好,表达式是,一个方括号,后面是一系列的元素,以逗号分开,以一个闭方括号结束,这就是我刚才所说的。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And for that, we combine things in expressions.

    为了这么做我们需要创建表达式。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • What we are creating is a community of pleasure and pain.

    我们创建的,是一个苦乐并存的社群。

    耶鲁公开课 - 政治哲学导论课程节选

  • And so we saw that as well, the last piece we had here is the ability to create variables, which have their own values, and that's done using an assignment statement.

    我们也可以看到,这里我们最后的是,创建了一些变量,这些变量都有自己的值,这是运用了赋值声明来完成的。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • In this brief presentation, I want to tell you about Star Festival. Star Festival is a multi-lierd program which we created at MIT, myself and a large team of people who work on different parts of the program.

    在这个演示中,我会告诉你们,关于“七夕“项目的一些东西,它是个合作项目,是由我们这个大团队在麻省理工学院创建的,团队人分管项目的不同部分。

    麻省理工公开课 - 媒体、教育、市场课程节选

  • We want to do the same thing, but with our data types.

    我们想要创建数据类型和函数,或者我们会叫他们方法。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Second thing they're going to do is let us suppress detail. And in essence what that does is, the functions, and we're going to look at a bunch of examples in a second, these functions are going to give us a way to, in some or in one way of thinking about it is to create new primitives.

    第二件要做的事,是忽略细节,函数的本质到底是什么,我们将在接下来的几分钟,举一些例子,这些函数将给我们提供,一种创建原语的思考方式。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Well basically what we're doing is we're giving ourselves the ability to create data types the same way that we have some built-ins, so we have things like int, float, string, these are built-in data types.

    就是要赋值我们自己创建,和内置的数据类型,相同的数据类型的能力,我们有一些内置的数据类型,如int,float,string等,如果你考虑下这些数据类型。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • In order to create any kinds of expressions, we're going to need values. Primitive data elements.

    因此下一节课,Python的一些简单介绍,我们需要值或者基础的数据类型l来创建

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Sometimes the functions -- sometimes a function can be used on multiple data types, plus, for example, we saw could add strings, or could add ints, but each one of those data types has associated with it a set of functions that are geared to handling them.

    比如说,我们可以对string类型,进行add操作,也可以对int类型进行这个操作,但是这些数据类型中的每一种,都与适合于操作它们的,方法集相关联,我们想对我们创建的数据,类型做同样的事情。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定