I am new to python. I have a few questions coming from an armature!
Random832
random832 at fastmail.com
Wed Aug 17 14:39:40 EDT 2016
On Wed, Aug 17, 2016, at 14:27, Terry Reedy wrote:
> That particular syntax was not really considered. At least 10 versions
> using 'if', 'then', 'else', and other tokens were.
>
> They all had the problem of requiring a new keyword such as 'then' or
> some other innovation.
Why not just if(cond, trueval, falseval), a la Visual Basic?
It's too late to change now, but I'm curious as to whether it was
considered or not.
More information about the Python-list
mailing list