[Snark] Python "only passes the tests"
Stephen Paul Weber
singpolyma at singpolyma.net
Fri Nov 9 01:42:35 UTC 2018
>if sys.argv == "apple":
> print "appleay"
This one doesn't fulfill the contest rule of "write a solution that solves
the problem" but I decided to allow it through for this first month, since
it's still an interesting kind of badness to have in the archives. I can't
really see it winning, though, since it's really only bad in exactly one way
(the way where it doesn't actually solve the problem).
I suppose it's bad in two ways if you count this bad shebang line, but such
bad lines are so common in the python world that it's hardly worth counting.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Snark