for -- else: what was the motivation?
Jach Feng
jfong at ms4.hinet.net
Mon Oct 10 06:40:05 EDT 2022
Axy 在 2022年10月10日 星期一下午5:55:29 [UTC+8] 的信中寫道:
> On 09/10/2022 03:33, Jach Feng wrote:
> > The else is always coming with the break, not the for.
> However, the compiler does not complain.
Sure, the compiler will not complain even in a IOCCC contest:-)
> > but the [for...else] is insane.
> Not in Python.
The confusion is always in human mind.
---Jach
More information about the Python-list
mailing list