使用python的迭代器和生成器模拟python内置的range函数

NoSuchKey