Function(enclosing)

i get result without using nonlocal keyword