exist loop by pressing esc

Steve D'Aprano steve+python at pearwood.info
Sun Oct 23 21:36:26 EDT 2016


On Mon, 24 Oct 2016 08:34 am, chris alindi wrote:

> simple while loop range(10) if user press esc exits loop


Your post is not a question nor even a grammatical sentence? Would you like
us to guess what you mean? Or perhaps you could ask your question in actual
proper sentences?

If English is not your first language, please say so, and try your best.

It may help if you show some code, and explain what result you want.



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list