So we have--U.S. Government issues bills and that's less than or equal to one year and they pay no interest.
美国政府发行的短期国库券,期限通常小于或等于一年,且不付息
n Alright. So if n is less than or equal to 1, return n. Well that's not right, right?
好吧,如果n小于等于1,它会返回,这里不对,是吧?
Going around in a cycle the integral of dq over T is less than or equal to zero.
对一个循环过程作dq除以T的积分,小于等于零。
So if n is greater than or equal to 1 and n is less than or equal to 3, let's just judge this thing a small number arbitrarily.
所以n大于等于1,并且n小于等于,我们武断的判定它为,一个小的数字。
Notice that. It's a less than or equal to.
如果我先测测只有一个元素的情况呢?
The end test-- and I've got the wrong glasses on but it's up here, where I'm looking to see, is last minus first less than or equal to 2?
最后一次比较,我看错了,在上面,last减去first是不是小于2呢?,好的,既然我得到了一个?
It's 1. Is it less than or equal to 16? Sure.
改变ANS,x不变,再去执行测试。
-- Else if n is greater than 4 and n is less than 6 -- 7 let's call it medium -- else if n is greater than or equal to 7, -- less than or equal to 10 -- let's call it "big" -- and if the user typed in zero or negative 10 or 20 or whatever, let's just use the all-inclusive else block and just say, "You picked an invalid number."
否则如果n大于4,并且n小于-,我们叫它为中间数--否则如果n大于等于,小于等于10--我们叫它为“大数“,如果用户键入了0或者-10或20或其它的,让我们用一个广泛的else子句,只需要说,“你选了一个非法的数字“
应用推荐