Why will this code result in an error message?
def calculateTax(subtotal):
tax = subtotal * .0825
return tax
calculateTax()
(1 point)
Responses
no variable is assigned the value of calculateTax()
no variable is assigned the value of calculateTax()
return tax appears too late
return tax appears too late
the function is never called
the function is never called
calculateTax() requires an argument
calculateTax() requires an argument
1 answer
The code will result in an error message because when the function calculateTax() is called, it is not provided with the required argument.