• In fact, my program crashes because I end up trying to divide by zero, a really bad thing. Hint: if you implement Newton's method, do not make your first guess zero.

    我下一步都没法开始,实际上,我的程序会崩溃,因为我试着去除0了,真糟糕,提示你:如果你想用牛顿的方法,第一个猜想别设为0。

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

  • So we're going to hear a solo by Louis Armstrong now and let's count along once the phrase begins. I'll get you started and then you count the measures. Here we go.

    下面我们听一段路易斯·阿姆斯特的独奏,同时音乐起奏时,我们就开始,我会提示你们开始,然后你们开始小节,准备好

    耶鲁公开课 - 聆听音乐课程节选

  • And again, if I just run this, just to show that it's going to do the right thing, it says enter base, I'm obnoxious, it says oops, wasn't a float, so we'll be nice about it and I enter a height, and it prints out what I expected. I just concatenated those strings together, by the way, at the end.

    我再来运行下看是不是做对了,提示输入底,噢,它提示说不是浮点,我很高兴,然后我输入一个,浮点作为高度显示结果和我预期的相同,顺便说一句,我只是在最后把这些字符串连接起来了。

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

  • So go ahead and prompt Jordan for an int.

    往前走并提示Jordan给你一个int

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

  • So we'll talk a bit more about this idea of functions today, but, get int, again, can think of it as a black box, whose purpose in life is to prompt the human for input and pester the human if he or she doesn't actually give it int, but then once it has that, has entered it from the user, it's quote unquote, returns it to you.

    所以我们进今天将多讨论点这个函的概念,但是,GetInt,我们可以把它当做一个黑盒子,它的唯一目的是提示人们来输入,并且如果他或她没有,给它int,则会纠缠用户,但是一旦它得到了,用户输入的int,对输入进行引用,返回给你。

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

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

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

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