Re: python coding contest
- From: aleax@xxxxxxxxxxxxxxxx (Alex Martelli)
- Date: Sun, 25 Dec 2005 18:56:08 -0800
rbt <rbt@xxxxxxxxxxxxxxxxx> 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
.
- References:
- Re: python coding contest
- From: Simon Hengel
- Re: python coding contest
- From: Steven D'Aprano
- Re: python coding contest
- From: rbt
- Re: python coding contest
- From: Steven D'Aprano
- Re: python coding contest
- From: Tim Hochberg
- Re: python coding contest
- From: rbt
- Re: python coding contest
- Prev by Date: Re: python coding contest
- Next by Date: Re: python coding contest
- Previous by thread: Re: python coding contest
- Next by thread: Re: python coding contest
- Index(es):
Relevant Pages
|