The range method accepts a starting index, as well as a step size.
range方法接受起始索引以及步长。
This example first demonstrates the range method, which creates a new list that contains a series of integers.
本例首先演示了range方法,它创建一个包含一系列整数的新list。
The general form for calling the range method is to supply a single value, used as the upper limit for the list of integers.
调用range方法的一般形式是提供单个值,用作整数list的上限。
The range method can also be used to iterate over a container, accessing each item in the sequence by using the appropriate index.
range方法还可用于迭代容器,通过使用适当的索引访问序列中的每一项。
Listing 7 demonstrate how you can use the range method within a for loop to create a times table for the integers 1 through 10, inclusive.
清单7演示了如何在for循环内使用range方法来创建整数1至10(包含10)的乘法表。
It is thus possible to reconstruct and display a 3-D CT image in a few seconds by the color-range method.
利用彩色分域法,我们能够在几秒钟内重建并显示出色彩鲜艳的三维CT图象。
This paper introduces two methods to measure the internal resistance of electric meters, the one is the substitution method and the other is the half range method.
介绍测量表头内阻的两种方法:一为替代法,一为半量程法。
The checking fixture must be measured on CMM after installing IP ASM. part. The R&R% should conform to the standard of QS9000/MSA v3.0(the average and range method).
检具需在安装产品后用三坐标进行重复性、再现性研究,重复性再现性R&R须符合QS9000/MSA测量系统分析(均值和极差法)第三版标准。
The clinic administrative system based on Web is a kind of brand-new long-range method to manage the clinic and it played better auxiliary function on the medical work of clinic.
基于Web的诊所管理系统是一种全新的远程管理诊所的方法,对诊所的医疗工作起了较好的辅助作用。
This final example demonstrates how to use the len method as the argument to the range method to create a list of integers that can be used to access each character from the string individually.
这个最后的示例演示了如何使用len方法作为range方法的参数,创建可用于单独访问string中每个字符的整数list。
The character of land collection decides the character of land expropriation compensation, and the expropriation character decides its stander and distribution range, method and proportion.
征地的性质决定着征地补偿的性质,征地补偿的性质又决定着征地补偿的标准、分配范围、分配方法和比例。
The character of land collection decides the character of land expropriation compensation, and the expropriation character decides its stander and distribution range, method and proportion.
征地的性质决定着征地补偿的性质,征地补偿的性质又决定着征地补偿的标准、分配范围、分配方法和比例。
应用推荐