Build a Discount Calculator - Step 32

In Step 32 (the last step) you pass by writing the following code:
print(f"Best price for {product.name} for {user_tier} user: ${best_price}0").
This seems to solve the issue of returning a best_price with precisely two decimals by concatinating the “0“ to “$40.0”.

I was wondering whether this is intended to be a valid solution.

can share a link of the step you are asking about?

Build a Discount Calculator: Step 32 | freeCodeCamp.org

that’s working only because there are no final prices like 34.56 then you would get 34.560, which is not correct

do you remember you learned how to format numbers when interpolated into strings?