• When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.

    这个大于的操作符的时候,是到的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。

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

  • Notice the form of it, it's just the name of the class followed by open paren, close paren, treating it like a function.

    我该怎么来使用呢?,好,我可以像调用方法,一样调用,你可以在下面看到,创建一个名为。

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

  • So you can actually say, how do I know which methods are associated with the class? For that, we can call dir. And what it does, is it gives me back a listing of all the things, dir all the methods, that are associated with it.

    我们开始建立了,我们得到了这些方法,因此实际上你可以说,我怎么知道,哪些方法是关联与这些的?,为了解决这个问题,我们可以调用,这个方法的作用。

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

  • These are instances of a class, and associated with that class are a set of methods things that I can deal with.

    但是Python的基本思想是相同的,这是一些一个的实例,这个关联了一个方法集,我可以做的一些操作。

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

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

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

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