• Why don't we give Philip both the matching pair and give you each a pair of socks since he didn't get to wear this one, they are brand new, in fact, and a big round of applause for what I'm sure is a little difficult.

    我们为什么不给飞利浦一双配对的袜子,给你们每人一双袜子,他还没穿这双袜子,所以这双还算是全新的,再次以热烈的掌声对他们表示感谢,这样的模仿还是有一些难度的。

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

  • In Philip's case, we ask the question, does he have zero or none zero socks on his feet?

    飞利浦这个例子中,我们就需要判断,他的脚上有没有袜子?

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

  • So here is an example of socks on feet being 0 the number of socks on Philip's feet which is in fact 0.

    因此这里有个袜子在脚上的例子,在飞利浦脚上的袜子数量实际上是。

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

  • On line 2, we're gonna induce what's called a loop, so do you wanna go ahead and Philip henceforth you get to stare, stare at the awkwardness.

    第二行,我们将介绍什么叫做循环,你想接着往下读吗,飞利浦正盯着你看,略显尴尬。

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

  • It's okay. So this first line of code, I will get it started but then I'm gonna have you take over and actually instruct Philip what to do here.

    第一行代码就从这里开始,接下来我会让你,接管并指导飞利浦

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

  • Alright, and don't worry I have a script for you but not for Philip.

    好了,别担心,脚本给你,但是飞利浦没有。

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

  • If there is no matching socks then what's gonna happen with Philip here?

    如果这里没有匹配的袜子,那么飞利浦会怎么样呢?

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

  • David Sam and Philip. Alright, I'm David and let's have Philip sit down.

    山姆和飞利浦,好的,我叫,飞利浦请坐下。

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

  • And we saw this with Philip's example.

    我们刚才已经看了飞利浦的例子。

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

  • And so when you start to poke around the puzzle pieces, you see that it can say things, we'll see movement in just a moment and sound and so forth, but at the end of the day, this is just like the program we used a moment ago for the sock exercise where we just hold Philip a step after step after step, do this, do this, do that, and yet, here too, we already see an opportunity for that thing we called the loop.

    如果你认真看下这些拼图,你会发现它都是一些移动,并发出声音的功能块,就像我刚才的,练习程序一样,我们让飞利浦做这个动作,做那个动作,跟这里的情况一样,我们已经看到了称为循环的东西。

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

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

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

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