Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.044 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.01; 'subject: + ': 0.07; 'skip:# 30': 0.09; 'to:addr:pobox.com': 0.09; 'to:addr:skip': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'random': 0.14; 'dice': 0.16; 'doing),': 0.16; 'fly': 0.16; ':-)': 0.16; 'wrote:': 0.18; '(but': 0.19; 'cc:addr:python.org': 0.22; 'merge': 0.24; 'skip': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'specified': 0.30; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; 'could': 0.34; 'received:google.com': 0.35; 'doing': 0.36; "i'll": 0.36; 'list': 0.37; 'little': 0.38; 'explain': 0.39; 'embedded': 0.39; 'how': 0.40; 'even': 0.60; "you're": 0.61; 'july': 0.63; 'wall': 0.65; 'guaranteed': 0.75; 'subject:this': 0.83; 'homework': 0.84; 'professors,': 0.84; 'subject: ...': 0.84; 'subject:might': 0.84; 'poorly': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TMlmbn9Z5hXXc1VoCJWgj77LgSLLuV4AlkazkHJOvwQ=; b=OQ9vmihQ3cPlB8EMi30ZQ5clA8WV5X0zAiS6x5cjopRGcYE2VOzhR1TttMpV/VeJnK i6rCke1EuIy9SmEkhVz2msiYpXMI2oe0xMNNdg2jwtU+cPipw2I7HZA7yJgZtdJqrA/J HlL+F0ARyvb2Erhwaa7L4EjzZd1l0c1PS142iuJQGfZFC3fjlyKKRlPSrDngdyAhJA5y 3kBlgbiWLWfrTYBdB/LylhyHI31ysgbm1nxixGNDxmP9YtaMIZm9HHmTBEHkqra0YEfk uiYLKBn8mHwEX5Lhg1asrcv1u0EbWuhvr0YpjUFFlqZeebZ6HJ8/0hv8vmbogrZgeVTk BDIw== X-Received: by 10.152.45.65 with SMTP id k1mr11265179lam.78.1373319389215; Mon, 08 Jul 2013 14:36:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Joshua Landau Date: Mon, 8 Jul 2013 22:35:48 +0100 Subject: Re: homework + obfuscation ... this might work ... To: Skip Montanaro Content-Type: text/plain; charset=UTF-8 Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373319396 news.xs4all.nl 15890 [2001:888:2000:d::a6]:54595 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50177 On 8 July 2013 21:43, Skip Montanaro 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