Question: Take a look at the following code example, used to calculate a subtotal for an order: def calcTotal(taxable, amount, salesTax, shipping): if taxable == Yes:

Take a look at the following code example, used to calculate a subtotal for an order: def calcTotal(taxable, amount, salesTax, shipping): if taxable == "Yes": subtotal = amount + (1 * salesTax) + shipping elif shipping == 0: pass else: subtotal = amount + shipping return subtotal order1 = calcTotal("No", 508, .@7, @) print ("Your order total is ", orderi1) What is the amount of order1? o0o00 An error is raised 500.07 500 535

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!