第一个集合仅包含开始节点。
开始本教程的学习前,请下载集合的示例代码和二进制文件。
Before you start the tutorial, download the sample source code and binaries for the collection.
因此,到收藏目录开始使用火狐的集合并按照你的想法组装你的火狐吧。
So, head on over to the collection Directory to get started with collections and fashion Firefox the way you want it.
Remember what range does, it gives me a set or a collection or a tuple of integers from 0 up to 1 - is the last value, so it's going to give me everything from 0 up to the total number of heads.
我将要在这个循环范围内加上鸡的数量,记住循环范围的目的,它给了我一个从一开始的整数集合,或者数组,这是最后的值。
And what it's saying semantically is, using that variable as my placeholder, have it walk through this collection, starting at the first thing, execute that code, then the next thing, execute that code, and so on.
它的语义意思就是,把这个变量应用为我的占位符,用它来遍历这个集合,从第一个元素开始,执行代码,然后下一个元素,再执行代码。
应用推荐