n this function, what will be returned?

def calculateTax(subtotal):

tax = subtotal * .0825

return tax

(1 point)
Responses

def

def

calculateTax

calculateTax

subtotal

subtotal

tax

tax
Skip to navigation

page 2 of 2

1 answer

In the given function calculateTax, the variable tax is calculated as subtotal * .0825, and then tax is returned by the function.

So, the answer to what will be returned when you call calculateTax(subtotal) is tax. This will be a numeric value representing the calculated tax based on the subtotal passed to the function.

Thus, the correct response is:

tax

Similar Questions
  1. In this function, what will be returned?def calculateTax(subtotal): tax = subtotal * .0825 return tax (1 point) Responses def
    1. answers icon 1 answer
  2. In this function, what is the parameter?def calculateTax(subtotal): tax = subtotal * .0825 return tax (1 point) Responses def
    1. answers icon 1 answer
  3. What is the name of this function?def calculateTax(subtotal): tax = subtotal * .0825 return tax (1 point) Responses def def
    1. answers icon 1 answer
  4. Why will this code result in an error message?def calculateTax(subtotal): tax = subtotal * .0825 return tax calculateTax() (1
    1. answers icon 3 answers
more similar questions