--- a/checkout.py +++ b/checkout.py @@ -6,4 +6,4 @@ amount = Decimal(str(subtotal)) if not amount.is_finite() or amount < 0: raise ValueError("subtotal must be finite and nonnegative") - return Decimal("0.00") if amount > Decimal("100.00") else Decimal("5.00") + return Decimal("0.00") if amount >= Decimal("100.00") else Decimal("5.00")