• So a bit of uninteresting math, a bit of focus on sizes of types, but any questions on syntax or concepts thus far before we now put this to the test?

    一些比较无趣的数字,一些关于类型的大小,在我们现在进行试验之前,你们对这其中的语法或概念有什么问题吗?

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

  • It says, with six primitives, I can rule the world. With six primitives, I can program anything.

    它说,用六个基本类型,我可以规定整个世界,用六个数字,我可以编写任何程序。

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

  • So unlike an int, this is the type of number that can have numbers after a decimal place.

    所以,不同于int,这个类型数字,可以有小数位。

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

  • But notice now, those aren't just simple things like numbers, those are actually points.

    但是现在请注意,这并不是像数字一样,的简单类型了。

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

  • But for numbers, for example, we can have a variety of types.

    可是对于比如数字,我们有很多种类型

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

  • Well I need to take that number and I'm going to turn it into a string. So notice what I'm going to do right here. I take that number and convert it into a string. That's an example of that type conversion we did earlier on. By doing that it makes it possible for me to treat it as an ordered sequence of characters.

    我可能得把这个数字变为字符串,请注意我这里是怎么做的,我把这个数字,转化为字符串了,这是我们之前学过的,类型转换的例子,这么一来我就能把它按照有序的。

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

  • And in Python, we have two to start with; we have numbers, and we have strings.

    在Python里面,我们从两个类型开始说起;,一个是数字另外一个是字符串。

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

  • For numbers, we had some variations; we had integers, we had floats.

    对于数字来说我们学习了很多变量;,包括integer类型,包括浮点数类型

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

  • Basic idea, before I even look at the code, is pretty simple. If I've got a list that is sorted, in let's call it, just in increasing order, and I haven't said what's in the list, could be numbers, could be other things, for now, we're going to just assume they're integers.

    我们可以说基本的思想是很简单的,如果我有一个排好序的数组,让我们认为这个数组是递增的吧,我并没说数组里元素是什么,可能是数字,也可能是其他的东西,现在我们假设是integer类型数字吧,最简单的方式就是这么做了:

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

  • So int is gonna stand for integer, it's just a number.

    大家都知道int代表整数类型,一个数字而已。

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

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

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

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