on writing a while loop for rolling two dice

2QdxY4RzWzUUiLuE at potatochowder.com 2QdxY4RzWzUUiLuE at potatochowder.com
Mon Sep 6 20:27:52 EDT 2021


On 2021-09-06 at 20:11:41 -0400,
Avi Gross via Python-list <python-list at python.org> wrote:

> And in the python version, has anyone made a generator that returned
> NULL or the like so you can say uselessly:
> 
> for ( _ in forever() ) ...

    while "forever":
        ...


More information about the Python-list mailing list