On 8 July 2013 21:43, Skip Montanaro <s...@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 -- http://mail.python.org/mailman/listinfo/python-list