"""
CSCI 145 Day 3 - stack diagrams

Draw the stack diagram on paper for the function call at the bottom.
Create one frame per call, in the order they would be pushed to
the call stack. Then uncomment the print line, run the code, and
check your trace against Python's actual output.
"""

def triple(x):
    x = x * 3
    return x

def mystery(x):
    y = triple(x) + 1
    return y

x = 4
result = mystery(x)
# print(result)
