• And the nice thing is that there's a shared behavior there. Just as I can have tuples as an ordered collection of things, strings behave as an ordered collection of things.

    共享的行为,就像元组是有序的元素序列,字符串也是有序的元素序列,因此我可以对字符串做同样的操作,我可以把它们连结起来。

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

  • We've looked so far really at two non-scalar types. And those were tuples written with parentheses, and strings.

    关于这两种基本类型我们已经,学的相当多了,包括哪些元组和字符串类型。

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

  • I shouldn't say list, those two tuples, and walk through them to find the pieces that match up.

    除数数组进行对比,我不该说数组的,是元组,遍历这两个元组找到相同的元素。

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

  • 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.

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

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

  • All right, they're not tuples, they're simply an instance with some structuring.

    传入这些类的实例,好,他们并不是元组。

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

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

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

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