On Sun, Dec 15, 2019 at 10:16 AM <komissar.off.and...@gmail.com> wrote: > > Hello! > I think it will be useful in Python syntax if we can use "elif" in "for" and > "while" statements besides "else" > > Example > for i in range(j): > ... > elif i > 5: > ... > else: > ... > > What you think about this change?
Can you give an example of some actual real-world code that would be improved by this? ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/IVUPTG3A5I7UPHQG5HTMEVULHCDXTTOA/ Code of Conduct: http://python.org/psf/codeofconduct/