a = 5
b = 2
def my_add(x, y):
a = x + y
return a
c = my_add(a, b)
The houses represent the different function scopes in your program. The arrows show function calls and the communication between the global and function scopes. The purpose is to demonstrate that the global scope does not need to know what happens inside the my_add function, as it has no access to the local variables within the function.