Re: python coding contest



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).


-tim


isn't the word 'input' a special word anyway??? .



Relevant Pages

  • Re: Waste of keys
    ... >> But you're complicating the interface, since you then have to first select ... >> Werner. ... > traps, etc. very frequently. ... Having a single character for use is not going to work well with ...
    (rec.games.roguelike.angband)
  • Re: python coding contest
    ... 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. ... This started to remind myself about the story of the contest where the shortest program beeing able to output own source was the job to code. ...
    (comp.lang.python)