On this call would be a condition that was the converse of the if; in this case, that the deposit must amount to less than or equal to zero.
在这个调用上会有一个与if相反的条件;在本例中,即存款必须小于等于0。
So we can now take this expression and rewrite it under the condition of du is equal to zero.
我们利用这个公式,并在du=0的条件下将它重写。
For instance, you can see that any time the if condition is true, the nested while loop will execute at least one time (because the list length will be greater than zero).
例如,您可以看到,每当if条件为真的时候,嵌入其中的while循环至少会执行一次(因为list的长度肯定大于0)。
So we can now take this expression and rewrite it under the condition of du is equal to zero.
我们利用这个公式,并在du=0的条件下将它重写。
应用推荐