Your question is Trace Code to Final Output. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Felix helps migrants send money home, and transfer fees vary by corridor, for example US to Mexico versus US to Colombia. A teammate wrote this quick script to build a set of fee calculator functions, one per corridor, and pasted it in a review channel asking whether it looks right.
corridors = ["US_MX", "US_CO", "US_GT"]
fee_calculators = []
for corridor in corridors:
rate = 0.01 if corridor == "US_MX" else 0.02
fee_calculators.append(lambda amount: amount * rate)
for calc in fee_calculators:
print(calc(100))
Without running it, state exactly what this prints, line by line, and explain why, then say what you'd change so each corridor's calculator actually uses its own rate.