Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; 'returned.': 0.07; 'happens.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'python': 0.11; 'def': 0.12; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'code,': 0.22; 'programming': 0.22; 'header :User-Agent:1': 0.23; 'options': 0.25; 'second': 0.26; 'pass': 0.26; 'defined': 0.27; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'run': 0.32; 'subject:with': 0.35; 'but': 0.35; 'thanks': 0.36; 'christian': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:x 10': 0.40; 'world.': 0.61; 'subject:your': 0.76; 'answer:': 0.84; 'choices.': 0.84; 'received:2': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Show off your Python chops and compete with others Date: Thu, 07 Nov 2013 18:48:44 +0000 References: <82328ec8-7178-4a17-abfe-13d444fab9cf@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-193-64.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383850141 news.xs4all.nl 15986 [2001:888:2000:d::a6]:45792 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58689 On 07/11/2013 18:38, Nathaniel Sokoll-Ward wrote: >> >> My answer: "Defines a function which returns None", but that isn't one >> of the choices. > > Roy, thanks for your note. When I run this code, the function just gets defined and nothing happens. None isn't returned. Do you recall why you found the options available to you unsuitable? > >>> def a(b, c, d): pass ... >>> x=a(1,2,3);type(x) -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence