Yes, the `while` loop is what you'd normally use for infinite loops. But you can also use `for` loops, with help from infinite iterators
Share this post
To Infinity and Beyond • The Infinite `for…
Share this post
Yes, the `while` loop is what you'd normally use for infinite loops. But you can also use `for` loops, with help from infinite iterators