• I think it depends on whether the list is odd or even in length. Actually, that's probably not true. With one, it'll probably always get it down there, but if I've made it just equal to two I might have lost.

    奇数还是偶数,事实上,这是不正确的,如果最后剩下一个,那可能得到了结果,如果剩下两个,可能错了,所以,首先我们要格外。

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

  • Don't sweat the details here, I just want you to see the reason it goes through it.

    现在我们注意到,这样做确实不错,这意味着,无论b是偶数还是奇数

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

  • It's going to print out even or odd, depending on whether the value I put in, which is x in this case, is even or odd.

    它会打印奇数或者偶数,这取决于我输入的值,也就是这个例子中的x,是奇数还是偶数

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

  • Remember last time, we wrote this simple piece of code to print out even or odd. If, you know, x, it was in fact, even or odd. So let me show you what a flow chart for that would look like, because I want to make a comparison point here.

    记得上节课我们写过的,那个显示奇数还是偶数的程序么,如果,你知道,x,实际上是奇数还是偶数,那么让我来为大家画个这个程序的流程图吧,因为我这里想为大家做个比较。

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

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

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

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