Good, good. 'Amundsen laughed.' But that's finished now. Hey, Bjaaland! Stop laughing-come down here and help me. Let's get all these dogs onto the ship!
“好,好,”阿蒙森朗声笑了,“但是现在这一切全结束了。喂,比阿兰德!别笑啦,下船来这儿,帮帮我,把这些全弄到船上去!”
Hey, darling, are you ready to come down now? I'm waiting for you outside.
嗨,亲爱的,你准备好下来了吗?我正在酒店外面等你。
I'm coming. Hey, come on in for a minute and sit down.
还要叫我进来坐会儿呀!不行,快走,我饿了,我要去吃中国饭。
But notice what this does. The first thing it does is, it says, let's check and make sure x is greater than or equal to 0. If it isn't, notice what's going to happen. None of that block is going to get executed, and it's going to come down here and print out a useful piece of information, which says, hey, you gave me a negative number. I don't know how to do this.
做的是和以前一样的事情,但是注释它做了什么,第一件做的事情就是,程序说,要去检查并且确信x是大于等于0的,如果不是的话,请注意会发生什么,下面的代码都不会被执行,程序会到这里来然后显示一些有用的信息,信息会说,嘿,你给了我一个负数,我不知道该怎么弄这个了。
应用推荐