• Second thing we saw was, we saw that associated with every primitive value was a type.

    我们学习到的第二件事情是,和每个基本值对应的,是一个类型

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

  • The second thing I want to highlight is, that what's going on, is that Python is doing some type checking.

    我想强调的第二件事情是,这里发生的是,是Python做了一些类型检查的工作。

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

  • And just as with variables, you should use some common sense, some style here, and the function's name should X Y communicate what it does, calling it X or Y or Z is generally not all that helpful.

    就像变量,你使用一些常识,一些类型,和函数名需要,传达它所做的事情,把它叫做,或者Z通常是没有什么用处的。

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

  • 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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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