Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道在python中我们没有定义数据类型,但是我有一个长类型的特定数字,我有一个使用该值作为范围函数的最终参数的循环,当我编译并实现它时,它显示了一个类似于此的错误“long不用于迭代,请帮助我。
代替 range() 函数,请使用 xrange() 函数