• Now, what did I want to do? I wanted to check membership. I want to do search. Well that's simple. Given that representation and some value, I just say gee is it there?

    现在,我需要做什么?,我要做成员检查,我要做查找,这就很简单了,给了即定的表示和一些值,我只需要说喂在那儿吗?

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

  • So, let's do a little sanity check now and let's try to demonstrate as much I now claim I'm going to capitalize the copy of the string I just made.

    多以,让我们做一个检查,然后做一个演示,现在我声称,我要利用那个字符串的拷贝。

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

  • chickens OK, and then once I've got that, well, notice: I can then check to see, did I return that special symbol none?

    第二部分是:,现在一旦我获得了这两个值,注意,我将再检查一下?

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

  • And those are two things that you'd like to do with every looping construct you write: you'd like to be able to assure yourself that they will always terminate, and then the second thing you'd like to do, is to assure yourself that it does give you back a reasonable answer.

    就是现在我有了能去检查程序,是不是做了正确的操作的能力:,这就是你们在写每个循环程序的时候,都要注意的两个事情:,第一件事情是要确保程序可以终结,第二件你要做的事情,就是要确保程序返回了正确的答案。

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

  • These days those things constantly spell check your program for you.

    现在这些软件将会为你,做程序的拼写检查

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

  • So I have a little sanity check now.

    我们现在做了一个明智的检查

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

  • At this point in the story, I now check while n is less than 1, what do I do?

    在此时此刻,我现在检查当n小于1是,我做什么?

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

  • So now a sanity check.

    现在做一个检查

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

  • I'm going to give a name to that. And what you see there is I'm going to call divisors initially an empty tuple, something has nothing in it. Right here. And then I'm going to run through the same loop as before, going through this set of things, doing the check.

    你们可以看到这里,我初始化一个空的元组,名为divisiors,这里,然后我会去运行,跟以前一样的循环,遍历这个集合内的东西,然后做检查现在我要做的是,每次我找到了一个除数我要把它收集起来。

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

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

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

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