Think Python Exercise 6.1

画出下面程序的堆栈图。这个程序的最终输出是什么?

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
def b(z):
    prod = a(z, z)
    print(z, prod)
    return prod

def a(x, y):
    x = x + 1
    return x * y

def c(x, y, z):
    total = x + y + z
    square = b(total)**2
    return square

x = 1
y = x + 1

print(c(x, y+3, x+y))

程序的最终输出:8100

应该没有特别的意义吧?