<分区>
Possible Duplicate:
Why avoid while loops?
我正在尝试通过关注 Learn Python The Hard Way 来学习 Python随着我的进步,我发现网站上提到,
Use a while-loop only to loop forever, and that means probably never. This only applies to Python, other languages are different.
现在我基本上是一名 Java 开发人员,这让我想知道为什么 while
应该避免在 python 中使用,尽管它在 Java 中被广泛使用。我无法在互联网上找到任何答案。