Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

Python Question of the Day May 8, 2025

  1. Incorrect Correct No Answer was selected Invalid Answer

    When the following program runs, what is the value of the variable tax?

    def compute_total_price(subtotal, tax = 0.7):
        taxable = subtotal * tax
        total = subtotal + taxable
        return total
    
    print(compute_total_price(12.00, 0.8))
    Python