Skip to content
murmot

Results for “python while loop example pdf code site:mail.python.org”

  • mail.python.org

    [Tutor] Tutor Digest, Vol 161, Issue 42

    enter using while loop > continuously until key press. Lets assume the "keypress" is 0. Do you know how to write a while loop that terminates when an input value is 0?

  • mail.python.org

    [Tutor] How to make to exit the loop, while typing Enter

    > entries for the list , But if I press Enter it should > exit the while loop without giving errors ,I have > problem in making it work , right now if I press enter > to exit , the program terminates showing error. Thats because you can't convert an empty string to an int.

  • mail.python.org

    [Python-Dev] Examples for PEP 572

    Next message (by thread): [Python-Dev] Examples for PEP 572.There is a tiny problem with it (and with rewriting a while loop as a > > for loop, as I like). Often the body contains not a single break.