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
To Infinity and Beyond • The Infinite `for` Loop
To Infinity and Beyond • The Infinite `for…
To Infinity and Beyond • The Infinite `for` Loop
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