docs

a slatepencil documentail site

View on GitHub

For each of the following functions, specify the type of the output.

# 1.
def foo (x):
    def bar (x):
        return x+1
    return bar(x*2)
foo(3)
# 2.
def foo (x):
    def bar (z):
        return z+x
    return bar(3)
foo(2)