Environment Diagrams: Conceptual Solutions
WRiting out environment diagrams
For each function, write out the environment diagram.
def adder(num):
x = num + 1
y = add(x, num)
return y
adder(4)
def outer(n):
def inner(m):
y = n + m
return y
return inner
outer(6)(5)