How do we know this always stops? I mean, I ran three trials here, and it did. But how would I reason about, does this always stop?
我指的是我在这儿试了三次,它都停了,那这是为什么呢?,它总是会停下么?
Someone asked me, "Well,why are some notes consonant and why are other notes dissonant?"
有人问我,那么为什么有些音符是和音而有些不协调呢“
Moses demurs: Why me?
摩西提出质疑:为什么是我呢?
Why aren't I justified in believing in the existence of demons?
我为什么不认为相信恶魔的存在是正确的呢
And keep going, until the square of one of those integers is greater than or equal to - sorry, just greater than x. OK, why am I doing that? When I get greater than x, I've gone past the place where I want to be.
如果还是比x小的话,跳到3,这么继续下去,直到一个整数的平方大于或者等于,对不起,是大于x,好,为什么我要这么做呢?,让我得到的整数的平方和。
So the question was, why is this return down at this level, it says, well if I ever execute out of this FOR loop, I get to the end of the FOR loop without hitting that branch that took me through the return, then and only then do I want to actually say, gee, I got to this place, there isn't any value to return, none I'm going to return none and none.
问题是,为什么它是在这个级别上返回值呢,意思就是如果我出了这个for循环,就意味着我运行的过程中没有走到任何,带return的支路上去,这时也只有这时我才能说天呐,我终于走到这儿了,这时不会返回任何值,只会返回none和。
应用推荐