• 返回一个指定整形数值范围的数字迭代器, 默认数值范围0~99999
    • 示例:
    1. from common import numiter
    2. num_iter = numiter(num=10)
    3. print(next(num_iter))
    4. # 0
    5. print(next(num_iter))
    6. # 1
    7. print(next(num_iter))
    8. # 2