[Tutor] Generator next()
Keith Winston
keithwins at gmail.com
Mon Dec 30 04:03:25 CET 2013
Wow Steven, this is great.I'll be brief I'm on a phone
> def f(x):
> print("Inside the outer function x =", x)
> def g(y): # a function nested inside another function
> print("Inside the inner function x =", x)
> print("Inside the inner function y =", y)
> return x + y
> return f(23)
Actually as I was forming my question I sorted out what's going on. Your
examples and descriptions are very clear and exceedingly helpful, you could
write a useful book. Thanks for all the help. Now on to your next two posts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131229/f350aa02/attachment-0001.html>
More information about the Tutor
mailing list