runtime
37 / 500
question 37 Conditional Logic · medium

The else in the wrong place

Members get free shipping on orders of 25 or more; everyone else needs 50 or more. Below that, shipping is 4.99. The program prints nothing at all for a member's order of 20, and it never gives a non-member free shipping. Fix the decisions.

Keepmember = True and total = 20 as the first lines. Check runs your program again with other orders
PrintsShipping: 4.99
Expected output1 line
  1. 1Shipping: 4.99

Loading your progress…

The else in the wrong place — Python practice · Runtime