Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50177

Re: homework + obfuscation ... this might work ...

References <CANc-5UzBA=2o2SAArL4oAkHKbTcWKH82d6ZyiiktimibiwXr6w@mail.gmail.com>
From Joshua Landau <joshua.landau.ws@gmail.com>
Date 2013-07-08 22:35 +0100
Subject Re: homework + obfuscation ... this might work ...
Newsgroups comp.lang.python
Message-ID <mailman.4403.1373319396.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 8 July 2013 21:43, Skip Montanaro <skip@pobox.com> wrote:
> I have an idea.  Take the threads where students ask the list to do
> their homework for them (but don't have the cojones to admit that's
> what they are doing), and merge them with the obfuscated Python idea.
> A group of people could come up with the solution off-list, then
> answer the poster's original question (no fair asking them to revise
> their poorly specified requirements) with a very obfuscated answer
> on-list.  I think it would be interesting to be a fly on the wall when
> they explain how their programs work to their professors, especially
> if they have little easter eggs embedded in them.
>
> :-)
>
> Perhaps we could start with the 10 random even numbers?  I'll start:

You're doing it wrong:

def getRandomNumbers() -> [int]:
    return [4]*10;  # chosen by fair dice roll
                    # guaranteed to be random

#!/too/famous/to_need/a.reference

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: homework + obfuscation ... this might work ... Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-08 22:35 +0100

csiph-web