The Python Coding Stack

The Python Coding Stack

Share this post

The Python Coding Stack
The Python Coding Stack
To Infinity and Beyond • The Infinite `for` Loop
Copy link
Facebook
Email
Notes
More

To Infinity and Beyond • The Infinite `for…

Stephen Gruppetta
Mar 7, 2024
9

Share this post

The Python Coding Stack
The Python Coding Stack
To Infinity and Beyond • The Infinite `for` Loop
Copy link
Facebook
Email
Notes
More
1

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

Read →
Comments
User's avatar
© 2025 Stephen Gruppetta
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More