python coding contest
Alex Martelli
aleax at mail.comcast.net
Sun Dec 25 21:56:08 EST 2005
rbt <rbt at athop1.ath.vt.edu> wrote:
> Tim Hochberg wrote:
> >
> > Is it necessary to keep the input parameter as 'input'? Reducing that to
> > a single character drops the length of a program by at least 8
> > characters. Technically it changes the interface of the function, so
> > it's a little bogus, but test.py doesn't check. (Personally I prefer
> > that if be illegal, but if it's legal I'll have to do it).
>
> isn't the word 'input' a special word anyway???
No, just the name of a builtin -- no problem overriding it.
Alex
More information about the Python-list
mailing list