Monty @ The Python Coding Place @thepythoncodingplace.com · Mar 7

You can do this by including them within another function—but we're not there yet, so read on…

0 likes 1 replies

?

Replies

Monty @ The Python Coding Place · Mar 7

I've changed the name of `print_` to `inner` to make it clear this is the inner function. Note how it's nested within `print_with_memory`, which is the outer function. So, `data` and `inner` are names that exist within the outer function's local scope.