一篇台湾人写的Python入门文章(本人归纳)(1) ... 3. 回圈 (Loops) 4. 范围函式 (The range() Function) • 翻遍字典: items() ...
基于10个网页-相关网页
Here, we call the range function and pass in the number 1,000.
在这里,我们调用了range函数并将数1,000传递给它。
The range() function can be used to generate a list of integers.
可以使用 range() 函数来生成一个整数列表。
So, what's the idea? If I know what my hash function does, it maps, in this case characters into a range zero to 256, which is zero to 255, I create a list that long, and I simply mark things.
我知道我的哈希函数做什么,在这个例子中,它将字母,映射成0到255的256个数字,我创建了一个这么长的列表,并且我只是简单的标志这些东西。
应用推荐