来玩一玩砸袋子的游戏吧!
没有谁会给自己也没有把握能成功的东西砸这么多的钱吧,对不对?
Nobody would invest so much money in something that wasn't sure to be a success, right?
大约30秒后,我醒悟了过来,意识到,我是在搬石头砸自己的脚,对吧?
And about 30 seconds later, I came to my senses and I realized that I had done exactly the wrong thing, right?
But if it is not, it's going to print out a message here saying, you screwed up, somewhat politely, and it's going to go back around. So it'll just cycle until I get something of the right type.
但是输入不是浮点数的话,我这里就会显示一个消息说,你搞砸了,该稍微有点礼貌吧?,然后我们继续执行循环,一直到得到正确类型的输入。
应用推荐