def apply_discount(cart, code):
print("cart before", cart)
discount = lookup_discount(code)
print("discount", discount)
cart.total -= discount.amount
return cartDeterministic line match: flags statements that begin with `print(`, outside comments and triple-quoted strings.