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
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to