In my opinion this doesn't make sense. For else is already unreadable and confusing so adding to it would be more so.
> On 15 Dec 2019, at 00:16, 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? > _______________________________________________ > 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/CGGP7IOZSAMK7SIAYHQMR7ZX3CPGTH3K/ > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ 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/ZXENOWPDNDGA2BKKGAZNHLKNT4ZKQCRK/ Code of Conduct: http://python.org/psf/codeofconduct/