What does this program print?

from Scope and namespaces
Python 3.14 beginner 2 min

What does this program print?

Python
region = "global"

def make_reader():
    region = "enclosing"

    def read(prefix):
        return f"{prefix}:{region}:{len(prefix)}"

    return read

print(make_reader()("EU"))
Open in playground
Report an error