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.