A print shop adds a setup fee to its page charge. Trace the inner call before evaluating the outer one.
Predict the output
What price does the program print?
def pages_cost(pages):
return pages * 2
def with_setup(amount):
return amount + 3
print(with_setup(pages_cost(4)))