python小白学习笔记-01 python 运行报错-‘int‘ object is not iterable python报‘int‘对象不可迭代 解决办法:不能直接用int进行迭代,而必须加个range 如下所示: for i in range(100):