human
I am working on the file "Closure a dekorator.ipynb".
The first task is:
Vnutorna funkcia nie je z vonka dostupna. Existuje len v ramci tela vonkajsej funkcie. Teda pokial ju nevratime ako navratovu hodnotu.
Can you write Python code for it?
 Write me a the Python code you requested?
assistant
#Here is the Python code you requested.

def outer():
    def inner(a):
        return a + 7
    return inner

inner(3) # zvonka funkcia nieje dostupna a je teda chranena (nikto k nej nemoze a nezaspini nam priestor mien)

pom = outer()
pom