[Tutor] Learn Python The Hard Way, Ex19-3

Alan Gauld alan.gauld at btinternet.com
Sun Feb 12 01:54:35 CET 2012


On 11/02/12 22:26, amt wrote:

> Write at least one more function of your own design, and run it 10
> different ways.

Put it in a dictionary and call it by name...

Put it in a list of functions and call it as part of a loop.

Create a lambda with it as expression and then call the lambda

Just 3 more...

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list