Re: python coding contest
- From: Peter Otten <__peter__@xxxxxx>
- Date: Mon, 26 Dec 2005 10:05:04 +0100
Simon Hengel 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).
>
> You may change input to something more short, like x. Everything that
> passes the test, has a good chance to be accepted.
How good is "good" for
import test_vectors
seven_seg = test_vectors.test_vectors.get
or code using the test suite in general?
Peter
.
- Follow-Ups:
- Re: python coding contest
- From: Claudio Grondi
- Re: python coding contest
- 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: Simon Hengel
- Re: python coding contest
- Prev by Date: Re: any Adobe Reader like apps written in python, for examination?
- Next by Date: Re: libxml2 and mindom
- Previous by thread: Re: python coding contest
- Next by thread: Re: python coding contest
- Index(es):
Relevant Pages
|