On 2015-10-13 14:44, Alex Kleider wrote:
On 2015-10-13 12:11, Danny Yoo wrote:


######################
def make_ask(f, l, p):
    d = {'Enter your first name: ' : f,
           'Enter your last name: ' : l,
           'Your mobile phone #: ' : p}
    return d.get
######################

This is an example of a 'closure' is it not?
ak
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to