Show off your Python chops and compete with others

Mark Lawrence breamoreboy at
Thu Nov 7 19:48:44 CET 2013

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)
<class 'NoneType'>

Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

More information about the Python-list mailing list