Perl and Python, a practical side-by-side example.
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Sun Mar 4 16:14:31 EST 2007
John Machin a écrit :
> On Mar 3, 12:36 pm, Bruno Desthuilliers >
> [snip]
>
>> DATE = 5
>> TARGET = 6
>
> [snip]
>
>>Now for the bad news: I'm afraid your algorithm is broken : here are my
>>test data and results:
>>
>>input = [
>> #ID STATE ... ... ... TARG DATE
>> "aaa\tAAA\t...\t...\t...\tBBB\t20071212\n",
>
> [snip]
>
> Bruno, The worse news is that your test data is broken.
Re-reading the OP's specs, the bad news is that my only neuron left is
broken. Shouldn't code at 2 o'clock in the morning :(
More information about the Python-list
mailing list