It says, if answer, sorry, imagine x is -16, ANS is 0 is less than -16, no. So what does it do?
对不对?让我们来看看,如果答案,对不起0,如果x是-16的话,ANS为0,小于-16吧,对?
Just to remind you what it does, we bound x to some value, we set up an initial variable called ANS or answer, answer and then we run through a little loop.
记住你要做些什么,我们给x赋一个值,我们建立一个初始变量,命名为ANS或者。
And I've got to worry about, is somebody else using ANS, answer, as a variable, in which case I've got to be really careful. Is somebody else using x as a variable? I've got to deal with a lot of those details.
而且我还要担心有没有别人,使用了ANS,answer作为变量,这样我就必须要非常小心,有没有别人用x当做变量呢?,我需要处理很多类似的细节。
So answer, or ANS, is also bound only locally.
所以answer,或者ANS,也是局部变量的。
应用推荐