So first of all, I've got to be careful about the end test. But the second thing is, OK, if it stops whenever this is less than two, am I convinced that this will always halt?
小心最后一次比较,其次,如果少于两个元素程序停止了,我们能确信这总是应该终止的么?,答案是肯定的,因为我在做什么?
I get a key error. Because, remember, these things are not ordered.
程序会返回一个键错误,因此,记住字典里的元素是无序的。
So, for example, if I say TEST and I don't give it a start but I give it an end, then it gives me all the elements up to that point.
例如,我创建了TEST这个元组我没有给他,起始点却给了它一个结束点,然后程序会基于这一点放置所有的元素。
应用推荐