• Usually when you know why it's not working, it's obvious what you have to do to make it work.

    通常你明白了出错的原因,很明显你必须让程序正常运行起来。

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

  • I'm going to print here the list if we go into it, and print of the when we're done and then just return that.

    注意接下我来我要做的事,运行到这里时会打印列表,并且当处理完成会打印返回的列表。

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

  • Maybe you don't control thermostats in your dorm room, some of you do and some of you don't probably, and maybe it doesn't work very well so it might not be a good example, but imagine a perfect thermostat that you set for a temperature and then the temperature stays the same inside the room no matter what the temperature is outside.

    可能你根本就不理卧室里的恒温器,有些人去调它,有些人就置之不理,可能它压根就是坏的,所以这个例子也许并不恰当,但你还是想象一个完美运行的恒温器,你设定温度房间里的温度就保持不变,不管外面温度是多少

    耶鲁公开课 - 生物医学工程探索课程节选

  • So in this case, it just keeps chopping down from the back end, which kind of makes sense, all right? But in a fixed number, in fact, twenty-three calls, it gets down to the point of being able to say whether it's there.

    所以在这个例子中,我们能理解他从端开始排除元素,这,里事实上每次会确定的运行23次,找到最终的元素,我们来换个方向,对。

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

  • But that little short hand there is doing exactly the same thing. It is adding that value into some digits and putting it back or signing it back into some digits. And I'll walk through that loop and when I'm done I can print out the total thing does. And if I do that, I get out what I would expect.

    加上得到的这个数的,但是这个缩写声明其实是进行了同样的操作,它把我们得到的这个数加到一个数上面去,然用和对这个数进行了重新赋值,在循环中会去遍历字符串,当完成循环,程序会显示数字的总和,如果我运行,这个程序的话,我会得到我期待的结果。

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

  • Like, number of-- wait, what did we call a were solve-- number of legs and number of heads. OK, those are bound locally.

    我们把solve称为--一些腿和头,它们都是局部赋值的,当solve运行它们被包裹起来。

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

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

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

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